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