diff options
author | mkaay <mkaay@mkaay.de> | 2011-02-13 15:06:03 +0100 |
---|---|---|
committer | mkaay <mkaay@mkaay.de> | 2011-02-13 15:06:03 +0100 |
commit | 908c28bab89525250172a4013667319942846065 (patch) | |
tree | 73b85517ae12f8be4bc2071409136f181907795d /pyLoadCore.py | |
parent | cleanup (diff) | |
download | pyload-908c28bab89525250172a4013667319942846065.tar.xz |
fixes + improvements
Diffstat (limited to 'pyLoadCore.py')
-rwxr-xr-x | pyLoadCore.py | 7 |
1 files changed, 5 insertions, 2 deletions
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 |