summaryrefslogtreecommitdiffstats
path: root/module/plugins/Hook.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-01-08 14:44:59 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2012-01-08 14:44:59 +0100
commitbac28b7740aae772636d8b90e291d9c17dfd59a7 (patch)
tree08b6bd4f00cf27819f06d24f363d633b852f50a3 /module/plugins/Hook.py
parentsome cleanups (diff)
downloadpyload-bac28b7740aae772636d8b90e291d9c17dfd59a7.tar.xz
new MultiHoster hook
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