diff options
author | 2015-12-20 18:34:38 +0100 | |
---|---|---|
committer | 2015-12-27 22:45:29 +0100 | |
commit | 99bb91e42275df3cf77f5300939908a4bf15af61 (patch) | |
tree | 56d1b1eee6fe70e513da2c66f9baf56b2ace8370 /module/plugins/hooks/HotFolder.py | |
parent | [Addon] Import new Periodical class + code cosmetics (diff) | |
download | pyload-99bb91e42275df3cf77f5300939908a4bf15af61.tar.xz |
Update addons
Diffstat (limited to 'module/plugins/hooks/HotFolder.py')
-rw-r--r-- | module/plugins/hooks/HotFolder.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hooks/HotFolder.py b/module/plugins/hooks/HotFolder.py index 1af427b25..26217c0f8 100644 --- a/module/plugins/hooks/HotFolder.py +++ b/module/plugins/hooks/HotFolder.py @@ -27,10 +27,10 @@ class HotFolder(Addon): def activate(self): - self.start_periodical(30, threaded=True) + self.periodical.start(30, threaded=True) - def periodical(self): + def periodical_task(self): folder = encode(self.config.get('folder')) file = encode(self.config.get('file')) |