diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-09-06 19:54:46 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-09-06 19:54:46 +0200 |
commit | 41c26097b627cfaa15dcaa473d4300e5d0ec268d (patch) | |
tree | ac37ad877be45ee36057b43bde58580023360caa /pyLoadCore.py | |
parent | recheck fix, account update fix (diff) | |
download | pyload-41c26097b627cfaa15dcaa473d4300e5d0ec268d.tar.xz |
final fixesv0.4.1
Diffstat (limited to 'pyLoadCore.py')
-rwxr-xr-x | pyLoadCore.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/pyLoadCore.py b/pyLoadCore.py index 263c67274..0bed53267 100755 --- a/pyLoadCore.py +++ b/pyLoadCore.py @@ -20,7 +20,7 @@ @author: mkaay @version: v0.4.0 """ -CURRENT_VERSION = '0.4.1-dev' +CURRENT_VERSION = '0.4.1' from getopt import GetoptError from getopt import getopt @@ -288,7 +288,7 @@ class Core(object): f = open(link_file, "wb") f.close() - self.scheduler.start() + #self.scheduler.start() self.scheduler.addJob(0, self.accountManager.cacheAccountInfos) while True: @@ -305,6 +305,12 @@ class Core(object): self.threadManager.work() self.hookManager.periodical() + try: + j = self.scheduler.queue.get(False) + j.start() + except: + pass + def init_server(self): try: server_addr = (self.config['remote']['listenaddr'], int(self.config['remote']['port'])) |