diff options
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'] |