diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-09-05 21:49:35 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-09-05 21:49:35 +0200 |
commit | 00b4a7e6b57f12eb5086e244948a0cd8ad0c2188 (patch) | |
tree | 28c9a2c9202dc062f95118669f5698c8b5976e32 /pyLoadCore.py | |
parent | italian setup file (diff) | |
download | pyload-00b4a7e6b57f12eb5086e244948a0cd8ad0c2188.tar.xz |
MU fix + others
Diffstat (limited to 'pyLoadCore.py')
-rwxr-xr-x | pyLoadCore.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pyLoadCore.py b/pyLoadCore.py index 310c3e2e5..c1c1f8fbb 100755 --- a/pyLoadCore.py +++ b/pyLoadCore.py @@ -154,7 +154,7 @@ class Core(object): self.log.info(_("Received Quit signal")) _exit(1) - def start(self): + def start(self, xmlrpc=True, web=True): """ starts the fun :D """ if not exists("pyload.conf"): @@ -235,8 +235,10 @@ class Core(object): self.log.info(_("Downloadtime: %s") % self.server_methods.is_time_download()) - self.init_server() - self.init_webserver() + if xmlrpc: + self.init_server() + if web: + self.init_webserver() #linkFile = self.config['general']['link_file'] |