diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-10-25 03:07:21 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-10-25 03:07:21 +0200 |
commit | 1c4bf83881d2a22da3773666a580d51f6b57bfd1 (patch) | |
tree | f33d544b7ddcd7cf8ec2dfd4dfb7aebc67f593c1 /module/plugins/hoster/TurbobitNet.py | |
parent | Replace single quotes with doubles in self.error and self.fail msg (diff) | |
download | pyload-1c4bf83881d2a22da3773666a580d51f6b57bfd1.tar.xz |
Avoid gettext conflict due variable `_`
Diffstat (limited to 'module/plugins/hoster/TurbobitNet.py')
-rw-r--r-- | module/plugins/hoster/TurbobitNet.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/TurbobitNet.py b/module/plugins/hoster/TurbobitNet.py index 1a6366c4a..a12fc3874 100644 --- a/module/plugins/hoster/TurbobitNet.py +++ b/module/plugins/hoster/TurbobitNet.py @@ -58,7 +58,7 @@ class TurbobitNet(SimpleHoster): def solveCaptcha(self): - for _ in xrange(5): + for _i in xrange(5): m = re.search(self.LIMIT_WAIT_PATTERN, self.html) if m: wait_time = int(m.group(1)) @@ -122,7 +122,7 @@ class TurbobitNet(SimpleHoster): if m: url = "http://turbobit.net%s%s" % m.groups() else: - url = "http://turbobit.net/files/timeout.js?ver=%s" % "".join(random.choice('0123456789ABCDEF') for _ in xrange(32)) + url = "http://turbobit.net/files/timeout.js?ver=%s" % "".join(random.choice('0123456789ABCDEF') for _i in xrange(32)) fun = self.load(url) |