fixed sys.exit

This commit is contained in:
Darren Ranalli 2006-11-07 04:19:14 +00:00
parent 03fa5dc3d7
commit a01b476326

View File

@ -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