diff options
Diffstat (limited to 'pyload/plugin/internal/SimpleHoster.py')
-rw-r--r-- | pyload/plugin/internal/SimpleHoster.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/plugin/internal/SimpleHoster.py b/pyload/plugin/internal/SimpleHoster.py index 02231decc..75970d814 100644 --- a/pyload/plugin/internal/SimpleHoster.py +++ b/pyload/plugin/internal/SimpleHoster.py @@ -434,7 +434,7 @@ class SimpleHoster(Hoster): set_cookies(self.req.cj, self.COOKIES) if (self.MULTI_HOSTER - and (self.__pattern != self.core.pluginManager.hosterPlugins[self.__class__.__name__]['pattern'] + and (self.__pattern != self.core.pluginManager.hosterPlugins[self.getClassName()]['pattern'] or re.match(self.__pattern, self.pyfile.url) is None)): self.multihost = True return @@ -746,7 +746,7 @@ class SimpleHoster(Hoster): return self.premium = False self.account = None - self.req = self.core.requestFactory.getRequest(self.__class__.__name__) + self.req = self.core.requestFactory.getRequest(self.getClassName()) self.retries = 0 raise Retry(_("Fallback to free download")) |