diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-11-01 22:21:58 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-11-01 22:21:58 +0100 |
commit | 4cc95697eface0d00c73d5b39f0cfdf5607f814d (patch) | |
tree | 38645a6550592eeb126c6d401755b72f9fbc864c /module/plugins/hooks/DeleteFinished.py | |
parent | [SimpleHoster] Fix typo (diff) | |
download | pyload-4cc95697eface0d00c73d5b39f0cfdf5607f814d.tar.xz |
Don't handle bugged event pluginConfigChanged
Diffstat (limited to 'module/plugins/hooks/DeleteFinished.py')
-rw-r--r-- | module/plugins/hooks/DeleteFinished.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hooks/DeleteFinished.py b/module/plugins/hooks/DeleteFinished.py index b68e68679..5d2b78d50 100644 --- a/module/plugins/hooks/DeleteFinished.py +++ b/module/plugins/hooks/DeleteFinished.py @@ -7,7 +7,7 @@ from module.plugins.Hook import Hook class DeleteFinished(Hook): __name__ = "DeleteFinished" __type__ = "hook" - __version__ = "1.10" + __version__ = "1.11" __config__ = [('activated', 'bool', 'Activated', 'False'), ('interval', 'int', 'Delete every (hours)', '72'), @@ -18,7 +18,7 @@ class DeleteFinished(Hook): __authors__ = [("Walter Purcaro", "vuolter@gmail.com")] - event_list = ["pluginConfigChanged"] + # event_list = ["pluginConfigChanged"] ## overwritten methods ## @@ -46,7 +46,7 @@ class DeleteFinished(Hook): def coreReady(self): self.info = {'sleep': True} interval = self.getConfig('interval') - self.pluginConfigChanged('DeleteFinished', 'interval', interval) + self.pluginConfigChanged(self.__name__, 'interval', interval) self.addEvent('packageFinished', self.wakeup) |