summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/LogMarker.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-08 03:08:17 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-08 03:08:17 +0200
commit035d8c554c9e24206f9dc6f76e17fbe9e4c3607f (patch)
tree3b173d98512f33233d4aeb2906493d3abeea2369 /module/plugins/hooks/LogMarker.py
parentMerge pull request #1957 from GammaC0de/patch-3 (diff)
downloadpyload-035d8c554c9e24206f9dc6f76e17fbe9e4c3607f.tar.xz
Fixpack (4)
Diffstat (limited to 'module/plugins/hooks/LogMarker.py')
-rw-r--r--module/plugins/hooks/LogMarker.py20
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