summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/DataportCz.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-19 10:59:52 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-19 10:59:52 +0200
commitff9383bfe06d14d23bc0ed6af79aa8967965d078 (patch)
tree78a09f0c47eb392d6ca3c8bf948dc9a99709861b /module/plugins/hoster/DataportCz.py
parentFix addons (diff)
downloadpyload-ff9383bfe06d14d23bc0ed6af79aa8967965d078.tar.xz
Code cosmetics (3)
Diffstat (limited to 'module/plugins/hoster/DataportCz.py')
-rw-r--r--module/plugins/hoster/DataportCz.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/DataportCz.py b/module/plugins/hoster/DataportCz.py
index d3b25d2ad..2c00a5d55 100644
--- a/module/plugins/hoster/DataportCz.py
+++ b/module/plugins/hoster/DataportCz.py
@@ -25,7 +25,7 @@ class DataportCz(SimpleHoster):
def handle_free(self, pyfile):
- captchas = {"1": "jkeG", "2": "hMJQ", "3": "vmEK", "4": "ePQM", "5": "blBd"}
+ captchas = {'1': "jkeG", '2': "hMJQ", '3': "vmEK", '4': "ePQM", '5': "blBd"}
for _i in xrange(60):
action, inputs = self.parse_html_form('free_download_form')
@@ -40,8 +40,8 @@ class DataportCz(SimpleHoster):
self.download("http://www.dataport.cz%s" % action, post=inputs)
- check = self.check_download({"captcha": 'alert("\u0160patn\u011b opsan\u00fd k\u00f3d z obr\u00e1zu");',
- "slot" : 'alert("Je n\u00e1m l\u00edto, ale moment\u00e1ln\u011b nejsou'})
+ check = self.check_download({'captcha': 'alert("\u0160patn\u011b opsan\u00fd k\u00f3d z obr\u00e1zu");',
+ 'slot' : 'alert("Je n\u00e1m l\u00edto, ale moment\u00e1ln\u011b nejsou'})
if check == "captcha":
self.error(_("invalid captcha"))