diff options
| author | Jeremy Ernst <[email protected]> | 2017-08-21 14:51:09 -0700 |
|---|---|---|
| committer | Jeremy Ernst <[email protected]> | 2017-08-21 14:51:09 -0700 |
| commit | 89aef5faa84538223bfd751fddb2e123f1f5bce6 (patch) | |
| tree | ab4b6e048459c58a70505661e3456fa054692898 /install.mel | |
| parent | Added sample character (diff) | |
| download | artv2-master.tar.xz artv2-master.zip | |
fixed install.mel issue
Diffstat (limited to 'install.mel')
| -rw-r--r-- | install.mel | 2 |
1 files changed, 1 insertions, 1 deletions
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))"); |