mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
fixed sys.exit
This commit is contained in:
parent
03fa5dc3d7
commit
a01b476326
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user