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 a7e74b2ff..8dbcf4f30 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.__class__.__name__]:
- hdict = self.core.pluginManager.hosterPlugins[self.__class__.__name__]
+ and "new_module" in self.core.pluginManager.hosterPlugins[self.getClassName()]:
+ hdict = self.core.pluginManager.hosterPlugins[self.getClassName()]
tmp_module = hdict['new_module']
tmp_name = hdict['new_name']