use sys.exit() instead of exit()
This commit is contained in:
parent
f3f13bdaee
commit
505f609e72
5
gfceux
5
gfceux
|
@ -5,10 +5,11 @@
|
||||||
# Lukas Sabota <ltsmooth42 _at_ gmail _dot_ com>
|
# Lukas Sabota <ltsmooth42 _at_ gmail _dot_ com>
|
||||||
#
|
#
|
||||||
# <http://fceux.com>
|
# <http://fceux.com>
|
||||||
import platform
|
import platform
|
||||||
|
import sys
|
||||||
if platform.python_version() < '2.5.0':
|
if platform.python_version() < '2.5.0':
|
||||||
print "Python version too old, use one greater than 2.5.0";
|
print "Python version too old, use one greater than 2.5.0";
|
||||||
exit();
|
sys.exit();
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from src import main
|
from src import main
|
||||||
|
|
Loading…
Reference in New Issue