diff options
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'])) |