mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
One-line bug in SdkLocateMaya
This commit is contained in:
parent
02ebaa88e9
commit
7f60835723
@ -668,7 +668,7 @@ def SdkLocateMaya():
|
||||
SDK[ver] = ddir
|
||||
else:
|
||||
res = GetRegistryKey(key, "MAYA_INSTALL_LOCATION")
|
||||
if (key != 0):
|
||||
if (res != 0):
|
||||
res = res.replace("\\", "/").rstrip("/")
|
||||
SDK[res] = ver
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user