Skip to content

Commit

Permalink
Fix acolite windows bug (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
giswqs authored Sep 15, 2024
1 parent 6766919 commit a01190d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hypercoast/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -967,6 +967,9 @@ def get_formatted_current_time(format_str="%Y-%m-%d %H:%M:%S"):
f.write("\n".join(lines))
acolite_cmd.extend(["--settings", settings_file])

if acolite_dir_name.endswith("win"):
acolite_cmd = " ".join(acolite_cmd)

if verbose:
subprocess.run(acolite_cmd, check=True)
else:
Expand Down

0 comments on commit a01190d

Please sign in to comment.