summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-25 03:07:21 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-25 03:07:21 +0200
commit1c4bf83881d2a22da3773666a580d51f6b57bfd1 (patch)
treef33d544b7ddcd7cf8ec2dfd4dfb7aebc67f593c1 /module/plugins/crypter
parentReplace single quotes with doubles in self.error and self.fail msg (diff)
downloadpyload-1c4bf83881d2a22da3773666a580d51f6b57bfd1.tar.xz
Avoid gettext conflict due variable `_`
Diffstat (limited to 'module/plugins/crypter')
-rw-r--r--module/plugins/crypter/LixIn.py2
-rw-r--r--module/plugins/crypter/SafelinkingNet.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/crypter/LixIn.py b/module/plugins/crypter/LixIn.py
index 744066d19..0c20f6499 100644
--- a/module/plugins/crypter/LixIn.py
+++ b/module/plugins/crypter/LixIn.py
@@ -40,7 +40,7 @@ class LixIn(Crypter):
m = re.search(self.CAPTCHA_PATTERN, self.html)
if m:
- for _ in xrange(5):
+ for _i in xrange(5):
m = re.search(self.CAPTCHA_PATTERN, self.html)
if m:
self.logDebug("Trying captcha")
diff --git a/module/plugins/crypter/SafelinkingNet.py b/module/plugins/crypter/SafelinkingNet.py
index fcc48ca22..d9b511cf5 100644
--- a/module/plugins/crypter/SafelinkingNet.py
+++ b/module/plugins/crypter/SafelinkingNet.py
@@ -46,7 +46,7 @@ class SafelinkingNet(Crypter):
postData['link-password'] = self.getPassword()
if "altcaptcha" in self.html:
- for _ in xrange(5):
+ for _i in xrange(5):
m = re.search(self.SOLVEMEDIA_PATTERN, self.html)
if m:
captchaKey = m.group(1)