From c36736997b7c0a0e6cc2cbb426f49b486b78a171 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Fri, 14 Dec 2012 18:43:03 +0100 Subject: cleaned setup --- pyLoadCore.py | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'pyLoadCore.py') diff --git a/pyLoadCore.py b/pyLoadCore.py index f005d9208..21d6603e5 100755 --- a/pyLoadCore.py +++ b/pyLoadCore.py @@ -117,24 +117,21 @@ class Core(object): elif option in ("-d", "--debug"): self.doDebug = True elif option in ("-u", "--user"): - from module.setup.Setup import Setup + from module.Setup import Setup self.config = ConfigParser() s = Setup(pypath, self.config) s.set_user() exit() elif option in ("-s", "--setup"): - from module.setup.Setup import Setup + from module.Setup import Setup self.config = ConfigParser() s = Setup(pypath, self.config) - if argument == "web": - s.start_web() - else: - s.start() + s.start() exit() elif option == "--changedir": - from module.setup.Setup import Setup + from module.Setup import Setup self.config = ConfigParser() s = Setup(pypath, self.config) -- cgit v1.2.3