diff options
| -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") | 
