diff options
author | zoidberg10 <zoidberg@mujmail.cz> | 2011-12-14 01:03:54 +0100 |
---|---|---|
committer | zoidberg10 <zoidberg@mujmail.cz> | 2011-12-14 01:03:54 +0100 |
commit | a2fd5443d161c062e5f51a10a6523d2fad7741cf (patch) | |
tree | 694e5cfcc3a6a89ba233aa9b2dba3a209f0ae40d | |
parent | little fix (diff) | |
download | pyload-a2fd5443d161c062e5f51a10a6523d2fad7741cf.tar.xz |
setup error msg
-rwxr-xr-x | pyLoadCore.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pyLoadCore.py b/pyLoadCore.py index 99d8642bd..aa8e649a9 100755 --- a/pyLoadCore.py +++ b/pyLoadCore.py @@ -272,12 +272,17 @@ class Core(object): print "This is your first start, running configuration assistent now." self.config = ConfigParser() s = Setup(pypath, self.config) + res = False try: res = s.start() + except SystemExit: + pass + except KeyboardInterrupt: + print _("Setup interrupted") except: res = False print_exc() - print "Setup failed" + print _("Setup failed") if not res: remove("pyload.conf") |