We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebf0d18 commit 03e9f01Copy full SHA for 03e9f01
tests/test_clean_rawdata.py
@@ -18,7 +18,7 @@
18
def ensure_file(fname: str) -> str:
19
"""Download a file if it does not exist and return the local path."""
20
full_url = f"{web_root}{fname}"
21
- local_file = f"{local_url}{fname}"
+ local_file = os.path.abspath(f"{local_url}{fname}")
22
if not os.path.exists(local_file):
23
from urllib.request import urlretrieve
24
urlretrieve(full_url, local_file)
0 commit comments