summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar zoidberg10 <zoidberg@mujmail.cz> 2011-12-14 01:03:54 +0100
committerGravatar zoidberg10 <zoidberg@mujmail.cz> 2011-12-14 01:03:54 +0100
commita2fd5443d161c062e5f51a10a6523d2fad7741cf (patch)
tree694e5cfcc3a6a89ba233aa9b2dba3a209f0ae40d
parentlittle fix (diff)
downloadpyload-a2fd5443d161c062e5f51a10a6523d2fad7741cf.tar.xz
setup error msg
-rwxr-xr-xpyLoadCore.py7
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")