mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
Fixed parentheses VCTOOLKITINSTALLDIR
This commit is contained in:
parent
fa4d2a16a3
commit
d550d6c6ae
@ -734,7 +734,7 @@ def AddToVisualStudioPath(path,add):
|
||||
def LocateVisualStudio():
|
||||
|
||||
# Try to use the Visual Toolkit 2003
|
||||
if (os.environ.has_key["VCTOOLKITINSTALLDIR"]):
|
||||
if (os.environ.has_key("VCTOOLKITINSTALLDIR")):
|
||||
vcdir = os.environ["VCTOOLKITINSTALLDIR"]
|
||||
platsdk=GetRegistryKey("SOFTWARE\\Microsoft\\MicrosoftSDK\\InstalledSDKs\\8F9E5EF3-A9A5-491B-A889-C58EFFECE8B3",
|
||||
"Install Dir")
|
||||
|
Loading…
x
Reference in New Issue
Block a user