From e19f1a778cee1321673c517264feecdbe12766fd Mon Sep 17 00:00:00 2001 From: poikilos <7557867+poikilos@users.noreply.github.com> Date: Tue, 23 Feb 2016 09:47:10 -0500 Subject: [PATCH] fix syntax errors pasted from web --- chunkymap-regen.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chunkymap-regen.py b/chunkymap-regen.py index 1ea0758..4ffd9ae 100644 --- a/chunkymap-regen.py +++ b/chunkymap-regen.py @@ -223,7 +223,7 @@ if os.path.isfile(mtmn_path) and os.path.isfile(colors_path): htaccess_path = os.path.join(chunkymap_data_path,".htaccess") if not os.path.isdir(chunkymap_players_path): - os.mkdirs(chunkymap_players_path) + os.makedirs(chunkymap_players_path) if not os.path.isfile(htaccess_path): deny_http_access(chunkymap_data_path) htaccess_path = os.path.join(chunkymap_players_path,".htaccess") @@ -231,7 +231,7 @@ if os.path.isfile(mtmn_path) and os.path.isfile(colors_path): deny_http_access(chunkymap_players_path) if not os.path.isdir(chunkymap_players_path): - os.mkdirs(chunkymap_players_path) + os.makedirs(chunkymap_players_path) players_path = os.path.join(world_path, "players") for dirname, dirnames, filenames in os.walk(players_path): for filename in filenames: