Skip to content

Commit

Permalink
Merge pull request #12 from alexanderquispe/server
Browse files Browse the repository at this point in the history
osrm
  • Loading branch information
TJhon authored Jun 29, 2023
2 parents 6e8bedd + c615722 commit 09ec228
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions osrmareas/osrm.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ def prepare_server(self):
run_first = input(f"An OSRM file named '{osrm_file}' was found. Do you want to run the following command again: `osrm_extract.exe -p car.lua {pbf_file}`? [yes, no] (This will take some time)")
else:
with open(file, 'w') as bt:
bt.write(comand1)
bt.write(comand)
subprocess.Popen(['start', 'cmd', '/c', 'call', file], shell = True)
print(file)
print(comand1)
# print(comand1)

if "n" in run_first:
comand = f'''
Expand Down

0 comments on commit 09ec228

Please sign in to comment.