From 00b4a7e6b57f12eb5086e244948a0cd8ad0c2188 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sun, 5 Sep 2010 21:49:35 +0200 Subject: MU fix + others --- pyLoadCore.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'pyLoadCore.py') 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'] -- cgit v1.2.3