diff options
Diffstat (limited to 'pyload/plugins')
-rw-r--r-- | pyload/plugins/internal/MultiHoster.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/plugins/internal/MultiHoster.py b/pyload/plugins/internal/MultiHoster.py index 02594e04e..4eb4a6f31 100644 --- a/pyload/plugins/internal/MultiHoster.py +++ b/pyload/plugins/internal/MultiHoster.py @@ -145,7 +145,7 @@ class MultiHoster(Addon): self.logError(_("No Hoster loaded")) return - module = self.core.pluginManager.getPlugin(self.__name__) + module = self.core.pluginManager.getPlugin(self.__type__, self.__name__) klass = getattr(module, self.__name__) # inject plugin plugin @@ -189,7 +189,7 @@ class MultiHoster(Addon): self.unloadHoster(hoster) # reset pattern - klass = getattr(self.core.pluginManager.getPlugin(self.__name__), self.__name__) + klass = getattr(self.core.pluginManager.getPlugin(self.__type__, self.__name__), self.__name__) dict = self.core.pluginManager.hosterPlugins[self.__name__] dict['pattern'] = getattr(klass, "__pattern__", r'^unmatchable$') dict['re'] = re.compile(dict['pattern']) |