From 035d8c554c9e24206f9dc6f76e17fbe9e4c3607f Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Thu, 8 Oct 2015 03:08:17 +0200 Subject: Fixpack (4) --- module/plugins/hooks/LogMarker.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 module/plugins/hooks/LogMarker.py (limited to 'module/plugins/hooks/LogMarker.py') diff --git a/module/plugins/hooks/LogMarker.py b/module/plugins/hooks/LogMarker.py new file mode 100644 index 000000000..eb78a28ff --- /dev/null +++ b/module/plugins/hooks/LogMarker.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- + +from module.plugins.internal.Addon import Addon, Expose + + +class LogMarker(Addon): + __name__ = "LogMarker" + __type__ = "hook" + __version__ = "0.01" + __status__ = "testing" + + __description__ = """Log a mark when the day begins""" + __license__ = "GPLv3" + __authors__ = [("Walter Purcaro", "vuolter@gmail.com")] + + + def periodical(self): + self.log_info("------------------------------------------------") + self.log_info(_("--------------------- MARK ---------------------")) + self.log_info("------------------------------------------------") \ No newline at end of file -- cgit v1.2.3