summaryrefslogtreecommitdiffstats
path: root/module/plugins/captcha/AdYouLike.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-01 04:55:17 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-01 04:55:17 +0200
commit25d5726d4953b93a2e286fd6af8d4ead20670ba6 (patch)
tree9d38f6942af2fadc094a75dd43699051f356b4d7 /module/plugins/captcha/AdYouLike.py
parent[AntiVirus] Folder support (diff)
downloadpyload-25d5726d4953b93a2e286fd6af8d4ead20670ba6.tar.xz
A lot of plugin code cosmetics
Diffstat (limited to 'module/plugins/captcha/AdYouLike.py')
-rw-r--r--module/plugins/captcha/AdYouLike.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/captcha/AdYouLike.py b/module/plugins/captcha/AdYouLike.py
index f91b5805c..cac73774a 100644
--- a/module/plugins/captcha/AdYouLike.py
+++ b/module/plugins/captcha/AdYouLike.py
@@ -76,7 +76,7 @@ class AdYouLike(CaptchaService):
try:
instructions_visual = challenge['translations'][server['all']['lang']]['instructions_visual']
- result = re.search(u'«(.+?)»', instructions_visual).group(1).strip()
+ response = re.search(u'«(.+?)»', instructions_visual).group(1).strip()
except AttributeError:
self.fail(_("AdYouLike result not found"))
@@ -87,6 +87,6 @@ class AdYouLike(CaptchaService):
'_ayl_token_challenge': challenge['token'],
'_ayl_response' : response}
- self.log_debug("Result: %s" % result)
+ self.log_debug("Result: %s" % response)
return result