diff options
author | 2014-10-05 22:14:53 +0200 | |
---|---|---|
committer | 2014-10-05 22:14:53 +0200 | |
commit | ff91b58bf9ee65aaeb048426295af6ad122b119e (patch) | |
tree | 1518b797739524427ec0c60551c13300feec3a93 /module/plugins/hoster/SpeedyshareCom.py | |
parent | [SimpleHoster] Added default handle patterns LINK_FREE_PATTERN and LINK_PREMI... (diff) | |
download | pyload-ff91b58bf9ee65aaeb048426295af6ad122b119e.tar.xz |
Spare code cosmetics
Diffstat (limited to 'module/plugins/hoster/SpeedyshareCom.py')
-rw-r--r-- | module/plugins/hoster/SpeedyshareCom.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/SpeedyshareCom.py b/module/plugins/hoster/SpeedyshareCom.py index 78b3b28c6..772d3ad62 100644 --- a/module/plugins/hoster/SpeedyshareCom.py +++ b/module/plugins/hoster/SpeedyshareCom.py @@ -43,8 +43,8 @@ class SpeedyshareCom(SimpleHoster): dl_link = urljoin("http://www.speedyshare.com", m.group(1)) self.download(dl_link, disposition=True) - check = self.checkDownload({'is_html': re.compile("html")}) - if check == "is_html": + check = self.checkDownload({'html': re.compile("html")}) + if check == "html": self.parseError("Downloaded file is an html file") |