diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-12-20 18:34:38 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-12-27 22:45:29 +0100 |
commit | 99bb91e42275df3cf77f5300939908a4bf15af61 (patch) | |
tree | 56d1b1eee6fe70e513da2c66f9baf56b2ace8370 /module/plugins/hooks/LogMarker.py | |
parent | [Addon] Import new Periodical class + code cosmetics (diff) | |
download | pyload-99bb91e42275df3cf77f5300939908a4bf15af61.tar.xz |
Update addons
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 -------------------")) |