From 4f218a4a843030e3b327482e89fc4829f5dbfc2a Mon Sep 17 00:00:00 2001 From: rdb Date: Thu, 17 Dec 2009 19:13:43 +0000 Subject: [PATCH] I shouldn't code when I'm tired --- makepanda/makepandacore.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/makepanda/makepandacore.py b/makepanda/makepandacore.py index 4bebf01ce8..7c71f143cd 100644 --- a/makepanda/makepandacore.py +++ b/makepanda/makepandacore.py @@ -1300,8 +1300,8 @@ def SdkLocateMax(): SDK[version+"CS"] = top + subdir def SdkLocatePython(force_use_sys_executable = False): - if (PkgSkip("PYTHON")==0 and not force_use_sys_executable): - if (sys.platform == "win32"): + if (PkgSkip("PYTHON")==0): + if (sys.platform == "win32" and not force_use_sys_executable): SDK["PYTHON"] = "thirdparty/win-python" if (GetOptimize() <= 2): SDK["PYTHON"] += "-dbg"