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

Path settings.PONOS_DATA_DIR

parent 0ba75081
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !2249. Comments created here will be created in the context of that merge request.
......@@ -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