summaryrefslogtreecommitdiffstats
path: root/module/plugins
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-08 19:43:51 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-08 19:43:51 +0200
commit944f0d42fcc335e5727e6e2e0b42f1177d9c6a18 (patch)
treea881be78e5b4fb51ff0e8e944daaab52e8372d56 /module/plugins
parentFix https://github.com/pyload/pyload/issues/1157 (diff)
downloadpyload-944f0d42fcc335e5727e6e2e0b42f1177d9c6a18.tar.xz
Fix https://github.com/pyload/pyload/issues/1157 (2)
Diffstat (limited to 'module/plugins')
-rw-r--r--module/plugins/internal/MultiHook.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/internal/MultiHook.py b/module/plugins/internal/MultiHook.py
index 6ef803f7a..51c8ea89f 100644
--- a/module/plugins/internal/MultiHook.py
+++ b/module/plugins/internal/MultiHook.py
@@ -11,7 +11,7 @@ from module.utils import decode, remove_chars
class MultiHook(Hook):
__name__ = "MultiHook"
__type__ = "hook"
- __version__ = "0.43"
+ __version__ = "0.44"
__config__ = [("pluginmode" , "all;listed;unlisted", "Use for plugins" , "all"),
("pluginlist" , "str" , "Plugin list (comma separated)", "" ),
@@ -75,7 +75,7 @@ class MultiHook(Hook):
plugin, self.plugintype = self.core.pluginManager.findPlugin(self.pluginname)
if plugin:
- self.pluginmodule = self.core.pluginManager.loadModule(type, self.pluginname)
+ self.pluginmodule = self.core.pluginManager.loadModule(self.plugintype, self.pluginname)
self.pluginclass = getattr(self.pluginmodule, self.pluginname)
else:
self.logWarning("Hook plugin will be deactivated due missing plugin reference")