summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--module/plugins/Hook.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/module/plugins/Hook.py b/module/plugins/Hook.py
index 2d8ed0741..1a7fba092 100644
--- a/module/plugins/Hook.py
+++ b/module/plugins/Hook.py
@@ -46,7 +46,8 @@ class Hook():
self.setup()
def setup(self):
- pass
+ self.configParser.set(self.props["name"], {"option": "activated", "type": "bool", "name": "Activated"}, True)
+ self.readConfig()
def isActivated(self):
return self.config["activated"]