From a2fd5443d161c062e5f51a10a6523d2fad7741cf Mon Sep 17 00:00:00 2001 From: zoidberg10 Date: Wed, 14 Dec 2011 01:03:54 +0100 Subject: setup error msg --- pyLoadCore.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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") -- cgit v1.2.3