From 30dbfa93016242f33f93219161c665ce2ac1d2ec Mon Sep 17 00:00:00 2001 From: fly Date: Mon, 7 Dec 2020 10:00:00 +0100 Subject: [PATCH] Use python3 Signed-off-by: Merspieler --- split-world.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)