Use python3
Signed-off-by: Merspieler <merspieler@airmail.cc>
This commit is contained in:
parent
655e79b608
commit
30dbfa9301
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
#! /usr/bin/python
|
||||
#! /usr/bin/python3
|
||||
# Copyright (C) 2018-2020 Merspieler, merspieler _at_ airmail.cc
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or
|
||||
|
@ -55,7 +55,7 @@ def run_cut(path, step, name, start_file=None):
|
|||
else:
|
||||
print("Building: " + name + "...")
|
||||
os.system("osmium extract -c " + path + str(step) + "-" + name + ".json " + name + ".osm.pbf --overwrite")
|
||||
os.system("rm " + name + ".osm.pbf")
|
||||
os.system("rm " + name + ".osm.pbf")
|
||||
|
||||
con_pre = config_path + prefix
|
||||
run_cut(con_pre, 1, "1", world_file)
|
||||
|
|
Loading…
Reference in a new issue