From 7f60835723234c01cc5cb5cec6b397452f4e3ebf Mon Sep 17 00:00:00 2001 From: Josh Yelon Date: Sat, 24 Nov 2007 06:14:06 +0000 Subject: [PATCH] One-line bug in SdkLocateMaya --- doc/makepanda/makepandacore.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/makepanda/makepandacore.py b/doc/makepanda/makepandacore.py index ed432c13af..e9bb0ad436 100644 --- a/doc/makepanda/makepandacore.py +++ b/doc/makepanda/makepandacore.py @@ -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