diff options
author | Walter Purcaro <vuolter@gmail.com> | 2015-01-28 01:18:23 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2015-01-28 01:18:23 +0100 |
commit | e704a6cdd07c01a2f79eb851d7f2ecdf78da77fd (patch) | |
tree | 5abd1bb4599374afa7844c458984fbedd615be66 /module/plugins/internal | |
parent | [NetloadIn] Fix missing RECAPTCHA_KEY (diff) | |
download | pyload-e704a6cdd07c01a2f79eb851d7f2ecdf78da77fd.tar.xz |
[UploadedTo] Rewritten
Diffstat (limited to 'module/plugins/internal')
-rw-r--r-- | module/plugins/internal/SimpleHoster.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/internal/SimpleHoster.py b/module/plugins/internal/SimpleHoster.py index 5c9d993e7..30add3f41 100644 --- a/module/plugins/internal/SimpleHoster.py +++ b/module/plugins/internal/SimpleHoster.py @@ -245,7 +245,7 @@ def secondsToMidnight(gmt=0): class SimpleHoster(Hoster): __name__ = "SimpleHoster" __type__ = "hoster" - __version__ = "1.10" + __version__ = "1.11" __pattern__ = r'^unmatchable$' @@ -333,7 +333,7 @@ class SimpleHoster(Hoster): @classmethod def getInfo(cls, url="", html=""): info = cls.apiInfo(url) - online = False + online = False if info['status'] != 2 else True try: info['pattern'] = re.match(cls.__pattern__, url).groupdict() #: pattern groups will be saved here @@ -341,7 +341,7 @@ class SimpleHoster(Hoster): except Exception: info['pattern'] = {} - if not html: + if not html and not online: if not url: info['error'] = "missing url" info['status'] = 1 |