diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-09-28 19:14:58 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-09-28 19:14:58 +0200 |
commit | 59f743bbfde24d94a16c9fc60095014d66a2cb70 (patch) | |
tree | efa1d8be69a4d4bf34f1fadc8e9c7d072ec09a39 /module/plugins/hoster/DevhostSt.py | |
parent | New hoster DropboxCom (diff) | |
download | pyload-59f743bbfde24d94a16c9fc60095014d66a2cb70.tar.xz |
[SpeedyshareCom] Code cleanup
Diffstat (limited to 'module/plugins/hoster/DevhostSt.py')
-rw-r--r-- | module/plugins/hoster/DevhostSt.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/module/plugins/hoster/DevhostSt.py b/module/plugins/hoster/DevhostSt.py index fbeb883e1..088ace93a 100644 --- a/module/plugins/hoster/DevhostSt.py +++ b/module/plugins/hoster/DevhostSt.py @@ -41,8 +41,9 @@ class DevhostSt(SimpleHoster): self.logDebug("Download URL = " + dl_url) self.download(dl_url, disposition=True) - if self.checkDownload({'is_html': re.compile("html")}) == "is_html": - self.parseError("The downloaded file is html, something went wrong") + check = self.checkDownload({'is_html': re.compile("html")}) + if check == "is_html": + self.parseError("Downloaded file is an html file") getInfo = create_getInfo(DevhostSt) |