diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-06-17 19:24:49 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-06-24 22:42:50 +0200 |
commit | 9305859b64a2f0aef3f27fb7e5b75caa0cb836a6 (patch) | |
tree | bdbb4710a4070131e1257a90a69abf4b6d080ee1 /module/plugins/hooks/Captcha9Kw.py | |
parent | Spare code cosmetics (2) (diff) | |
download | pyload-9305859b64a2f0aef3f27fb7e5b75caa0cb836a6.tar.xz |
Spare code cosmetics (3)
Diffstat (limited to 'module/plugins/hooks/Captcha9Kw.py')
-rw-r--r-- | module/plugins/hooks/Captcha9Kw.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hooks/Captcha9Kw.py b/module/plugins/hooks/Captcha9Kw.py index a67e5bfc3..7e9bd2071 100644 --- a/module/plugins/hooks/Captcha9Kw.py +++ b/module/plugins/hooks/Captcha9Kw.py @@ -139,7 +139,7 @@ class Captcha9Kw(Hook): self.logDebug("NewCaptchaID ticket: %s" % res, task.captchaFile) - task.data["ticket"] = res + task.data['ticket'] = res for _i in xrange(int(self.getConfig('timeout') / 5)): result = self.load(self.API_URL, @@ -232,7 +232,7 @@ class Captcha9Kw(Hook): 'correct': "1" if correct else "2", 'pyload' : "1", 'source' : "pyload", - 'id' : task.data["ticket"]}) + 'id' : task.data['ticket']}) self.logDebug("Request %s: %s" % (type, res)) |