瀏覽代碼

Minor bugfix

Josh Yelon 19 年之前
父節點
當前提交
2022f48471
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      direct/src/directscripts/packpanda.py

+ 1 - 1
direct/src/directscripts/packpanda.py

@@ -70,7 +70,7 @@ OPTIONS = ParseOptions(sys.argv[1:])
 
 PANDA=None
 for dir in sys.path:
-    if (dir != "") and os.path.exists(os.path.join(dir,"direct")) and os.path.exists(os.path.join(dir,"pandac")) and os.path.exists(os.path.join(dir,"python")):
+    if (dir != "") and os.path.exists(os.path.join(dir,"direct")) and os.path.exists(os.path.join(dir,"pandac")):
         PANDA=os.path.abspath(dir)
 if (PANDA is None):
   sys.exit("Cannot locate the panda root directory in the python path (cannot locate directory containing direct and pandac).")