From 2022f484715f513a70f0ba6fe5db0a6b8f2aeab2 Mon Sep 17 00:00:00 2001 From: Josh Yelon Date: Fri, 28 Apr 2006 22:33:08 +0000 Subject: [PATCH] Minor bugfix --- direct/src/directscripts/packpanda.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/direct/src/directscripts/packpanda.py b/direct/src/directscripts/packpanda.py index 6f0e98066e..9868242a88 100755 --- a/direct/src/directscripts/packpanda.py +++ b/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).")