summaryrefslogtreecommitdiffstats
path: root/module/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins')
-rw-r--r--module/plugins/Hook.py2
-rw-r--r--module/plugins/hooks/LinuxFileEvents.py2
2 files changed, 1 insertions, 3 deletions
diff --git a/module/plugins/Hook.py b/module/plugins/Hook.py
index 81188c147..45435b2f6 100644
--- a/module/plugins/Hook.py
+++ b/module/plugins/Hook.py
@@ -44,7 +44,7 @@ class Hook():
self.setup()
def setup(self):
- self.configParser.set(self.props["name"], {"option": "activated", "type": "bool", "name": "Activated"}, True)
+ self.configParser.set(self.__name__, {"option": "activated", "type": "bool", "name": "Activated"}, True)
self.readConfig()
def isActivated(self):
diff --git a/module/plugins/hooks/LinuxFileEvents.py b/module/plugins/hooks/LinuxFileEvents.py
index 44f3f00e8..f4fe12de4 100644
--- a/module/plugins/hooks/LinuxFileEvents.py
+++ b/module/plugins/hooks/LinuxFileEvents.py
@@ -30,8 +30,6 @@ class LinuxFileEvents(Hook):
def __init__(self, core):
Hook.__init__(self, core)
- props = {}
- self.props = props
return #@TODO remove when working correctly