summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/internal/MultiHoster.py
diff options
context:
space:
mode:
authorGravatar Armin <Armin@Armin-PC.diedering.lan> 2015-04-09 20:11:11 +0200
committerGravatar Armin <Armin@Armin-PC.diedering.lan> 2015-04-09 20:11:11 +0200
commitf53d57b902b71708f05a3125872ec5d34ebe65b9 (patch)
tree2f8756396411a98331cb937e42ded87da2c9f253 /pyload/plugin/internal/MultiHoster.py
parentMerge remote-tracking branch 'origin/0.4.10' into 0.4.10 (diff)
downloadpyload-f53d57b902b71708f05a3125872ec5d34ebe65b9.tar.xz
fix: OboomCom and SmoozedCom with beaker >= v1.7.x
fix: run plugins this fix makes the plugin attribute "__name" obsolet
Diffstat (limited to 'pyload/plugin/internal/MultiHoster.py')
-rw-r--r--pyload/plugin/internal/MultiHoster.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/plugin/internal/MultiHoster.py b/pyload/plugin/internal/MultiHoster.py
index a38da9bdb..a7e74b2ff 100644
--- a/pyload/plugin/internal/MultiHoster.py
+++ b/pyload/plugin/internal/MultiHoster.py
@@ -86,8 +86,8 @@ class MultiHoster(SimpleHoster):
self.retryFree()
elif self.getConfig('revertfailed', True) \
- and "new_module" in self.core.pluginManager.hosterPlugins[self.__name]:
- hdict = self.core.pluginManager.hosterPlugins[self.__name]
+ and "new_module" in self.core.pluginManager.hosterPlugins[self.__class__.__name__]:
+ hdict = self.core.pluginManager.hosterPlugins[self.__class__.__name__]
tmp_module = hdict['new_module']
tmp_name = hdict['new_name']