Skip to content

Commit

Permalink
fix escape file output path
Browse files Browse the repository at this point in the history
  • Loading branch information
danangmassandy committed Jun 10, 2024
1 parent c35091a commit 651e597
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_project/cplus_api/utils/worker_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ def create_and_upload_output_layer(
result = subprocess.run(
(
f'gdal_translate -of COG -co COMPRESS=DEFLATE'
f' "{file_path}" {final_output_path}'
f' "{file_path}" "{final_output_path}"'
),
shell=True,
capture_output=True
Expand Down

0 comments on commit 651e597

Please sign in to comment.