diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-12-14 11:08:49 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-12-14 11:08:49 +0100 |
commit | cf8a8bf48468922dd77cb7685e638acfc600ea69 (patch) | |
tree | c15960aaab798cdeb986cb282c4a640f9f767bda | |
parent | fix console encoding on nt (diff) | |
download | pyload-cf8a8bf48468922dd77cb7685e638acfc600ea69.tar.xz |
more fixes
-rw-r--r-- | module/setup.py | 4 | ||||
-rwxr-xr-x | pyLoadCore.py | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/module/setup.py b/module/setup.py index 91153fc82..abb162e0f 100644 --- a/module/setup.py +++ b/module/setup.py @@ -24,7 +24,6 @@ from os.path import abspath from os.path import dirname from os.path import exists from os.path import join -import re from subprocess import PIPE from subprocess import call import sys @@ -390,9 +389,6 @@ class Setup(): noaction = False elif action == "4": break - except KeyboardInterrupt: - print "" #clean - pass finally: if not noaction: db.shutdown() diff --git a/pyLoadCore.py b/pyLoadCore.py index 25d623df6..2bcfde3c8 100755 --- a/pyLoadCore.py +++ b/pyLoadCore.py @@ -278,11 +278,11 @@ class Core(object): except SystemExit: pass except KeyboardInterrupt: - print _("Setup interrupted") + print "\nSetup interrupted" except: res = False print_exc() - print _("Setup failed") + print "Setup failed" if not res: remove("pyload.conf") |