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