diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-03-09 23:29:24 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-03-09 23:29:24 +0100 |
commit | aa78d90803a68e41ea663adb623c859cae3ad91e (patch) | |
tree | c793e30df9fccdf350fcd299e70fb3c14fabc36a /module/setup.py | |
parent | captcha manager fix, toggle reconnect (diff) | |
download | pyload-aa78d90803a68e41ea663adb623c859cae3ad91e.tar.xz |
new config page, mootools 1.3, removed old templates
Diffstat (limited to 'module/setup.py')
-rw-r--r-- | module/setup.py | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/module/setup.py b/module/setup.py index 39352d6d3..6316e295e 100644 --- a/module/setup.py +++ b/module/setup.py @@ -47,20 +47,20 @@ class Setup(): translation = gettext.translation("setup", join(self.path, "locale"), languages=["en", lang]) translation.install(True) - print "" - print _("Would you like to configure pyLoad via Webinterface?") - print _("You need a Browser and a connection to this PC for it.") - viaweb = self.ask(_("Start initial webinterface for configuration?"), "y", bool=True) - if viaweb: - try: - from module.web import ServerThread - ServerThread.setup = self - from module.web import webinterface - webinterface.run_simple() - return False - except Exception, e: - print "Setup failed with this error: ", e - print "Falling back to commandline setup." +# print "" +# print _("Would you like to configure pyLoad via Webinterface?") +# print _("You need a Browser and a connection to this PC for it.") +# viaweb = self.ask(_("Start initial webinterface for configuration?"), "y", bool=True) +# if viaweb: +# try: +# from module.web import ServerThread +# ServerThread.setup = self +# from module.web import webinterface +# webinterface.run_simple() +# return False +# except Exception, e: +# print "Setup failed with this error: ", e +# print "Falling back to commandline setup." print "" |