Use python3

Signed-off-by: Merspieler <merspieler@airmail.cc>
This commit is contained in:
fly 2020-12-07 10:00:00 +01:00
parent 655e79b608
commit 30dbfa9301

View file

@ -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)