summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-02-19 23:22:14 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-02-19 23:22:14 +0100
commite1927e427125a93a8f6ea369b760f7f21f879fcc (patch)
tree5a6ae69172fef51da1f6e4df2c7b869977f7b17d /module/plugins/hooks
parentencoding fixes (diff)
downloadpyload-e1927e427125a93a8f6ea369b760f7f21f879fcc.tar.xz
new permission system
Diffstat (limited to 'module/plugins/hooks')
-rw-r--r--module/plugins/hooks/UpdateManager.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/module/plugins/hooks/UpdateManager.py b/module/plugins/hooks/UpdateManager.py
index 70fd15fad..887aedbd1 100644
--- a/module/plugins/hooks/UpdateManager.py
+++ b/module/plugins/hooks/UpdateManager.py
@@ -20,7 +20,7 @@
from os.path import join
from module.network.RequestFactory import getURL
-from module.plugins.Hook import Hook
+from module.plugins.Hook import threaded, Hook
class UpdateManager(Hook):
__name__ = "UpdateManager"
@@ -35,6 +35,7 @@ class UpdateManager(Hook):
self.interval = self.getConfig("interval") * 60
self.updated = False
+ @threaded
def periodical(self):
update = self.checkForUpdate()
if not update: