summaryrefslogtreecommitdiffstats
path: root/pyLoadCore.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-09-05 21:49:35 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-09-05 21:49:35 +0200
commit00b4a7e6b57f12eb5086e244948a0cd8ad0c2188 (patch)
tree28c9a2c9202dc062f95118669f5698c8b5976e32 /pyLoadCore.py
parentitalian setup file (diff)
downloadpyload-00b4a7e6b57f12eb5086e244948a0cd8ad0c2188.tar.xz
MU fix + others
Diffstat (limited to 'pyLoadCore.py')
-rwxr-xr-xpyLoadCore.py8
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']