We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b2cf2e8 + 14c6bf6 commit 2309b2cCopy full SHA for 2309b2c
1 file changed
src/opengeodeweb_back/routes/blueprint_routes.py
@@ -305,10 +305,14 @@ def export_project() -> flask.Response:
305
if os.path.isfile(input_path):
306
zip_file.write(input_path, os.path.join(data_id, str(input_file)))
307
308
- for relative_path in additional_files if isinstance(additional_files, list) else []:
+ for relative_path in (
309
+ additional_files if isinstance(additional_files, list) else []
310
+ ):
311
additional_path = os.path.join(base_dir, relative_path)
312
if os.path.isfile(additional_path):
- zip_file.write(additional_path, os.path.join(data_id, relative_path))
313
+ zip_file.write(
314
+ additional_path, os.path.join(data_id, relative_path)
315
+ )
316
317
zip_file.writestr("snapshot.json", flask.json.dumps(params.snapshot))
318
0 commit comments