From adcd47191ad901c9ae934c4b4b1fb7d5fe37a534 Mon Sep 17 00:00:00 2001 From: poikilos <7557867+poikilos@users.noreply.github.com> Date: Wed, 9 Mar 2016 14:47:06 -0500 Subject: [PATCH] fix syntax --- chunkymap-regen.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/chunkymap-regen.py b/chunkymap-regen.py index e72b8b6..2e4010e 100644 --- a/chunkymap-regen.py +++ b/chunkymap-regen.py @@ -417,8 +417,10 @@ class MTChunks: chunkymap_thisworld_data_path = None genresult_name_opener_string = "chunk_" genresult_name_closer_string = "_mapper_result.txt" + min_indent = None def __init__(self): #formerly checkpaths() in global scope + self.min_indent = " " self.decachunks = {} self.total_newly_rendered = 0 os_name="linux" @@ -1231,7 +1233,7 @@ class MTChunks: self.prepare_chunk_meta(chunky_x, chunky_z) self.create_chunk_folder(chunky_x, chunky_z) self.chunks[chunk_luid].save_yaml(chunk_yaml_path) - print(min_indent+"(saved yaml to '"+chunk_yaml_path+"')") + print(self.min_indent+"(saved yaml to '"+chunk_yaml_path+"')") def check_players(self): print("PROCESSING PLAYERS")