From aa78d90803a68e41ea663adb623c859cae3ad91e Mon Sep 17 00:00:00 2001 From: RaNaN Date: Wed, 9 Mar 2011 23:29:24 +0100 Subject: new config page, mootools 1.3, removed old templates --- module/setup.py | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'module/setup.py') 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 "" -- cgit v1.2.3