Create output dir, if not existing
Signed-off-by: fly <merspieler@airmail.cc>
This commit is contained in:
parent
18af9f90e3
commit
23be5d6cc3
1 changed files with 2 additions and 0 deletions
|
@ -43,6 +43,8 @@ prefix = "osmium-cut-world-step-"
|
||||||
state4 = ['nw', 'ne', 'sw', 'se']
|
state4 = ['nw', 'ne', 'sw', 'se']
|
||||||
state2 = ['s', 'n']
|
state2 = ['s', 'n']
|
||||||
|
|
||||||
|
os.system("mkdir -p output")
|
||||||
|
|
||||||
def run_cut(path, step, name, start_file=None):
|
def run_cut(path, step, name, start_file=None):
|
||||||
if start_file != None:
|
if start_file != None:
|
||||||
print("Splitting world in 4...")
|
print("Splitting world in 4...")
|
||||||
|
|
Loading…
Reference in a new issue