diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-07-24 23:57:04 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-07-24 23:57:04 +0200 |
commit | dd13825fbd3df9e441200638cd2a92e3924dfff6 (patch) | |
tree | 9159fc1b77d6f6dbf1e7871ed2fb64886f433f1f /module/plugins/internal/SimpleHoster.py | |
parent | Code cosmetics (diff) | |
download | pyload-dd13825fbd3df9e441200638cd2a92e3924dfff6.tar.xz |
Fix typo
Diffstat (limited to 'module/plugins/internal/SimpleHoster.py')
-rw-r--r-- | module/plugins/internal/SimpleHoster.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/internal/SimpleHoster.py b/module/plugins/internal/SimpleHoster.py index f86e6fbe0..5ba207934 100644 --- a/module/plugins/internal/SimpleHoster.py +++ b/module/plugins/internal/SimpleHoster.py @@ -232,7 +232,7 @@ class SimpleHoster(Hoster): self.LINK_PREMIUM_PATTERN = self.LINK_PATTERN if (self.MULTI_HOSTER - and (self.__pattern__ not is self.pyload.pluginManager.hosterPlugins[self.__name__]['pattern'] + and (self.__pattern__ is not self.pyload.pluginManager.hosterPlugins[self.__name__]['pattern'] or re.match(self.__pattern__, self.pyfile.url) is None)): self.multihost = True return @@ -471,7 +471,7 @@ class SimpleHoster(Hoster): try: url = self.info['url'].strip() name = self.info['name'].strip() - if name and name not is url: + if name and name is not url: self.pyfile.name = name except Exception: |