From 89aef5faa84538223bfd751fddb2e123f1f5bce6 Mon Sep 17 00:00:00 2001 From: Jeremy Ernst Date: Mon, 21 Aug 2017 14:51:09 -0700 Subject: fixed install.mel issue fixed install.mel issue --- install.mel | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install.mel') diff --git a/install.mel b/install.mel index 14ce158..36c4c16 100644 --- a/install.mel +++ b/install.mel @@ -50,7 +50,7 @@ python("newModFile = os.path.join(mayaModDir, modFileName)"); python("replace_str = 'REPLACE_TO_YOUR_PATH'"); // Create new module file from template -python("if not os.path.exists(mayaModDir): os.path.makedirs(mayaModDir)"); +python("if not os.path.exists(mayaModDir): os.makedirs(mayaModDir)"); python("with open(modFile, 'r') as f: template = f.read()"); python("with open(newModFile, 'w') as f: f.write(template.replace(replace_str, modDir))"); -- cgit v1.2.3