From 908c28bab89525250172a4013667319942846065 Mon Sep 17 00:00:00 2001 From: mkaay Date: Sun, 13 Feb 2011 15:06:03 +0100 Subject: fixes + improvements --- pyLoadCore.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'pyLoadCore.py') diff --git a/pyLoadCore.py b/pyLoadCore.py index ace86b899..8aeb0a23b 100755 --- a/pyLoadCore.py +++ b/pyLoadCore.py @@ -79,6 +79,8 @@ class Core(object): def __init__(self): self.doDebug = False + self.startedInGui = False + self.running = False self.daemon = False self.arg_links = [] self.pidfile = "pyload.pid" @@ -221,7 +223,7 @@ class Core(object): except: print "Error quitting pyLoad" - def start(self, xmlrpc=True, web=True): + def start(self, rpc=True, web=True): """ starts the fun :D """ if not exists("pyload.conf"): @@ -339,7 +341,7 @@ class Core(object): self.log.info(_("Downloadtime: %s") % self.server_methods.is_time_download()) - if xmlrpc: + if rpc: self.remoteManager.startBackends() if web: @@ -354,6 +356,7 @@ class Core(object): self.threadManager.pause = False #self.threadManager.start() + self.running = True self.hookManager.coreReady() self.config.save() #save so config files gets filled -- cgit v1.2.3