Skip to content
Snippets Groups Projects
Commit daca3632 authored by ml bonhomme's avatar ml bonhomme :bee:
Browse files

Path settings.PONOS_DATA_DIR

parent 5f7cf4ee
No related branches found
No related tags found
No related merge requests found
......@@ -105,7 +105,7 @@ def download_extra_files(task) -> None:
resp.raise_for_status()
# Write file to a specific data directory
extra_files_dir = settings.PONOS_DATA_DIR / "extra_files"
extra_files_dir = Path(settings.PONOS_DATA_DIR) / "extra_files"
extra_files_dir.mkdir(exist_ok=True)
with open(extra_files_dir / path_name, "wb") as f:
for chunk in resp.iter_content(chunk_size=8192):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment