diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-17 01:21:41 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-17 01:21:41 +0200 |
commit | 20226f8cc5889efbefa61209e1adf6184d42cd00 (patch) | |
tree | 8f01af2c23465432f83481b656ed8c2743cb872a /pyload/plugin/hook/Captcha9Kw.py | |
parent | Spare code cosmetics (2) (diff) | |
download | pyload-20226f8cc5889efbefa61209e1adf6184d42cd00.tar.xz |
Spare code cosmetics (3)
Diffstat (limited to 'pyload/plugin/hook/Captcha9Kw.py')
-rw-r--r-- | pyload/plugin/hook/Captcha9Kw.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/plugin/hook/Captcha9Kw.py b/pyload/plugin/hook/Captcha9Kw.py index 9cb8e7928..bbf283623 100644 --- a/pyload/plugin/hook/Captcha9Kw.py +++ b/pyload/plugin/hook/Captcha9Kw.py @@ -138,7 +138,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 = getURL(self.API_URL, @@ -231,7 +231,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)) |