diff options
Diffstat (limited to 'module/plugins/hooks/LogMarker.py')
-rw-r--r-- | module/plugins/hooks/LogMarker.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hooks/LogMarker.py b/module/plugins/hooks/LogMarker.py index 3889ce288..80f7b17fb 100644 --- a/module/plugins/hooks/LogMarker.py +++ b/module/plugins/hooks/LogMarker.py @@ -22,10 +22,10 @@ class LogMarker(Addon): def activated(self): - self.start_periodical(1 * 60 * 60 - 1, delay=seconds_to_nexthour(strict=True) - 1) + self.periodical.start(1 * 60 * 60 - 1, delay=seconds_to_nexthour(strict=True) - 1) - def periodical(self): + def periodical_task(self): if self.config.get('mark_day') and datetime.datetime.today().hour is 0: self.log_info("------------------------------------------------") self.log_info(_("------------------- DAY MARK -------------------")) |