This commit is contained in:
j 2012-06-03 01:40:19 +02:00
parent 495a22dd97
commit c2ad332bbe

View file

@ -177,7 +177,7 @@ def join_tiles(source_paths, target_path):
offset = 0 offset = 0
for i, path in enumerate(source_paths): for i, path in enumerate(source_paths):
p = os.path.join(path, 'cuts.json') p = os.path.join(path, 'cuts.json')
if os.path.exists(p) if os.path.exists(p):
with open(p, 'r') as f: with open(p, 'r') as f:
path_cuts = json.load(f) path_cuts = json.load(f)
else: else: