diff options
author | mkaay <mkaay@mkaay.de> | 2010-05-07 22:29:18 +0200 |
---|---|---|
committer | mkaay <mkaay@mkaay.de> | 2010-05-07 22:29:18 +0200 |
commit | f746a0d9afb1fa12aad285d9363986a85b1fe6d4 (patch) | |
tree | c9910a09ecfc13d2d986cc40211ed2e6600087db /module/plugins | |
parent | fixes (diff) | |
download | pyload-f746a0d9afb1fa12aad285d9363986a85b1fe6d4.tar.xz |
hook fix
Diffstat (limited to 'module/plugins')
-rw-r--r-- | module/plugins/Hook.py | 2 | ||||
-rw-r--r-- | module/plugins/hooks/LinuxFileEvents.py | 2 |
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 |