summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-28 02:53:25 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-28 02:53:25 +0200
commit4135729a0d32abdbe14e422ff91aef74a8e2092c (patch)
treeb611ef8737d59ec699a62facee2bc8ad605ebb02 /module
parentFix https://github.com/pyload/pyload/issues/1575 (diff)
downloadpyload-4135729a0d32abdbe14e422ff91aef74a8e2092c.tar.xz
[Hook] Hotfix _log method
Diffstat (limited to 'module')
-rw-r--r--module/plugins/internal/Hook.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/internal/Hook.py b/module/plugins/internal/Hook.py
index 3d8fb0dde..36c85fc19 100644
--- a/module/plugins/internal/Hook.py
+++ b/module/plugins/internal/Hook.py
@@ -6,7 +6,7 @@ from module.plugins.internal.Addon import Addon
class Hook(Addon):
__name__ = "Hook"
__type__ = "hook"
- __version__ = "0.11"
+ __version__ = "0.12"
__status__ = "testing"
__config__ = [] #: [("name", "type", "desc", "default")]
@@ -25,4 +25,4 @@ class Hook(Addon):
#@TODO: Remove in 0.4.10
def _log(self, level, plugintype, pluginname, messages):
- return super(self.__name__, self)._log(level, plugintype, pluginname.replace("Hook", ""), messages)
+ return super(Addon, self)._log(level, plugintype, pluginname.replace("Hook", ""), messages)