diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-08 03:08:17 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-08 03:08:17 +0200 |
commit | 035d8c554c9e24206f9dc6f76e17fbe9e4c3607f (patch) | |
tree | 3b173d98512f33233d4aeb2906493d3abeea2369 /module/plugins/hooks/LogMarker.py | |
parent | Merge pull request #1957 from GammaC0de/patch-3 (diff) | |
download | pyload-035d8c554c9e24206f9dc6f76e17fbe9e4c3607f.tar.xz |
Fixpack (4)
Diffstat (limited to 'module/plugins/hooks/LogMarker.py')
-rw-r--r-- | module/plugins/hooks/LogMarker.py | 20 |
1 files changed, 20 insertions, 0 deletions
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 |