diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-02-19 23:22:14 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-02-19 23:22:14 +0100 |
commit | e1927e427125a93a8f6ea369b760f7f21f879fcc (patch) | |
tree | 5a6ae69172fef51da1f6e4df2c7b869977f7b17d /module/HookManager.py | |
parent | encoding fixes (diff) | |
download | pyload-e1927e427125a93a8f6ea369b760f7f21f879fcc.tar.xz |
new permission system
Diffstat (limited to 'module/HookManager.py')
-rw-r--r-- | module/HookManager.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/HookManager.py b/module/HookManager.py index fd51242fc..2a40d18a2 100644 --- a/module/HookManager.py +++ b/module/HookManager.py @@ -80,12 +80,12 @@ class HookManager(): self.core.log.error(_("Error executing hooks: %s") % str(e)) if self.core.debug: traceback.print_exc() - - self.core.scheduler.addJob(plugin.interval, wrapPeriodical, args=[plugin]) + + self.core.scheduler.addJob(plugin.interval, wrapPeriodical, args=[plugin], threaded=False) for plugin in self.plugins: if plugin.isActivated(): - self.core.scheduler.addJob(0, wrapPeriodical, args=[plugin]) + self.core.scheduler.addJob(0, wrapPeriodical, args=[plugin], threaded=False) @try_catch |