Fix from forum user Akranar

This commit is contained in:
rdb
2008-11-28 07:37:53 +00:00
parent f4c8bf2eef
commit 89c0c5d5ff
+1 -1
View File
@@ -678,7 +678,7 @@ def SdkLocateMaya():
res = GetRegistryKey(fullkey, "MAYA_INSTALL_LOCATION")
if (res != 0):
res = res.replace("\\", "/").rstrip("/")
SDK[res] = ver
SDK[ver] = res
elif (sys.platform == "darwin"):
ddir1 = "sdks/"+ver.lower().replace("x","")+"-osx"
if os.environ.has_key("MAYA_LOCATION"): ddir2 = os.environ["MAYA_LOCATION"].rstrip("/")