diff --git a/split-world.py b/split-world.py index 8b6a8f5..ddf0ec0 100755 --- a/split-world.py +++ b/split-world.py @@ -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)