Browse Source

fixed sys.exit

Darren Ranalli 19 years ago
parent
commit
a01b476326
1 changed files with 1 additions and 1 deletions
  1. 1 1
      direct/src/extensions_native/extension_native_helpers.py

+ 1 - 1
direct/src/extensions_native/extension_native_helpers.py

@@ -12,7 +12,7 @@ if (sys.platform == "win32"):
             target = dir
     if (target == None):
         print "Cannot find libpandaexpress. Exiting."
-        os.exit(1)
+        sys.exit(1)
     path=os.environ["PATH"]
     if (path.startswith(target+";")==0):
         os.environ["PATH"] = target+";"+path