sys.exit() in try

Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
Nico Schottelius 2012-02-17 13:47:00 +01:00
parent 61666664c1
commit aa81486fe9

View file

@ -228,7 +228,7 @@ if __name__ == "__main__":
else: else:
commandline() commandline()
except KeyboardInterrupt:
sys.exit(0) sys.exit(0)
sys.exit(0) except KeyboardInterrupt:
sys.exit(0)