summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/Captcha9kw.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-04-11 11:58:46 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2014-04-11 11:58:46 +0200
commit0424017acbd34e14a33002e130c618c5dd6df222 (patch)
tree950e911cbf3d1ede76c01f63c18d49f3e4472645 /module/plugins/hooks/Captcha9kw.py
parentChange Solvmedia to Solvemedia (diff)
downloadpyload-0424017acbd34e14a33002e130c618c5dd6df222.tar.xz
Replace range with xrange
Merges vuolter/pyload@a50c8ff
Diffstat (limited to 'module/plugins/hooks/Captcha9kw.py')
-rwxr-xr-xmodule/plugins/hooks/Captcha9kw.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hooks/Captcha9kw.py b/module/plugins/hooks/Captcha9kw.py
index 3a1b9fe8f..b2895a357 100755
--- a/module/plugins/hooks/Captcha9kw.py
+++ b/module/plugins/hooks/Captcha9kw.py
@@ -92,7 +92,7 @@ class Captcha9kw(Hook):
if response.isdigit():
self.logInfo(_("New CaptchaID from upload: %s : %s") % (response, task.captchaFile))
- for i in range(1, 100, 1):
+ for _ in xrange(1, 100, 1):
response2 = getURL(self.API_URL, get={"apikey": self.getConfig("passkey"), "id": response,
"pyload": "1", "source": "pyload",
"action": "usercaptchacorrectdata"})