diff options
Diffstat (limited to 'module/plugins/hooks/DeleteFinished.py')
-rw-r--r-- | module/plugins/hooks/DeleteFinished.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hooks/DeleteFinished.py b/module/plugins/hooks/DeleteFinished.py index 2fb8de938..67e1a1056 100644 --- a/module/plugins/hooks/DeleteFinished.py +++ b/module/plugins/hooks/DeleteFinished.py @@ -19,7 +19,7 @@ class DeleteFinished(Addon): __authors__ = [("Walter Purcaro", "vuolter@gmail.com")] - def periodical(self): + def periodical_task(self): if not self.info['sleep']: deloffline = self.config.get('deloffline') mode = "0,1,4" if deloffline else "0,4" @@ -37,7 +37,7 @@ class DeleteFinished(Addon): def activate(self): self.info['sleep'] = True self.add_event('package_finished', self.wakeup) - self.start_periodical(self.config.get('interval') * 60 * 60) + self.periodical.start(self.config.get('interval') * 60 * 60) ## own methods ## |