summaryrefslogtreecommitdiffstats
path: root/module/plugins/Hook.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/Hook.py')
-rw-r--r--module/plugins/Hook.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/module/plugins/Hook.py b/module/plugins/Hook.py
index 6e2057f03..c0ce7d99c 100644
--- a/module/plugins/Hook.py
+++ b/module/plugins/Hook.py
@@ -98,6 +98,7 @@ class Hook(Base):
self.event_list = None
self.initPeriodical()
+ self.init()
self.setup()
def initPeriodical(self):
@@ -122,6 +123,9 @@ class Hook(Base):
""" checks if hook is activated"""
return self.getConfig("activated")
+ def init(self):
+ pass
+
def setup(self):
""" more init stuff if needed """
pass