diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2012-12-14 18:43:03 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2012-12-14 18:43:03 +0100 |
commit | c36736997b7c0a0e6cc2cbb426f49b486b78a171 (patch) | |
tree | f9588cac0b9f931dfbe733d49eb68ded9f602587 /pyLoadCore.py | |
parent | merge setup to default (diff) | |
download | pyload-c36736997b7c0a0e6cc2cbb426f49b486b78a171.tar.xz |
cleaned setup
Diffstat (limited to 'pyLoadCore.py')
-rwxr-xr-x | pyLoadCore.py | 11 |
1 files changed, 4 insertions, 7 deletions
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) |