summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/internal/MultiHoster.py
diff options
context:
space:
mode:
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']