From 5945279b8b5b53944f45ffe47c35d609fff0c2fa Mon Sep 17 00:00:00 2001 From: LexManos Date: Mon, 19 Nov 2012 15:03:13 -0800 Subject: [PATCH] Fix python error --- install/fml.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/install/fml.py b/install/fml.py index 12cf8854d9..bc9488e8df 100644 --- a/install/fml.py +++ b/install/fml.py @@ -440,8 +440,10 @@ def apply_fml_patches(fml_dir, mcp_dir, src_dir, copy_files=True): #Delete /common/cpw to get rid of the Side/SideOnly classes used in decompilation cpw_mc_dir = os.path.join(src_dir, 'minecraft', 'cpw') cpw_com_dir = os.path.join(src_dir, 'common', 'cpw') - if os.path.isdir(cpw_mc_dir) shutil.rmtree(cpw_mc_dir) - if os.path.isdir(cpw_com_dir) shutil.rmtree(cpw_com_dir) + if os.path.isdir(cpw_mc_dir): + shutil.rmtree(cpw_mc_dir) + if os.path.isdir(cpw_com_dir): + shutil.rmtree(cpw_com_dir) #patch files print 'Applying Forge ModLoader patches'