summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/DropboxCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-05 22:14:53 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-05 22:14:53 +0200
commitff91b58bf9ee65aaeb048426295af6ad122b119e (patch)
tree1518b797739524427ec0c60551c13300feec3a93 /module/plugins/hoster/DropboxCom.py
parent[SimpleHoster] Added default handle patterns LINK_FREE_PATTERN and LINK_PREMI... (diff)
downloadpyload-ff91b58bf9ee65aaeb048426295af6ad122b119e.tar.xz
Spare code cosmetics
Diffstat (limited to 'module/plugins/hoster/DropboxCom.py')
-rw-r--r--module/plugins/hoster/DropboxCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/DropboxCom.py b/module/plugins/hoster/DropboxCom.py
index 07e251946..e5de6823d 100644
--- a/module/plugins/hoster/DropboxCom.py
+++ b/module/plugins/hoster/DropboxCom.py
@@ -34,8 +34,8 @@ class DropboxCom(SimpleHoster):
def handleFree(self):
self.download(self.pyfile.url, get={'dl': "1"})
- 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")