summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/TurbobitNet.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/TurbobitNet.py')
-rw-r--r--module/plugins/hoster/TurbobitNet.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/TurbobitNet.py b/module/plugins/hoster/TurbobitNet.py
index f33775f80..5bed39712 100644
--- a/module/plugins/hoster/TurbobitNet.py
+++ b/module/plugins/hoster/TurbobitNet.py
@@ -70,7 +70,7 @@ class TurbobitNet(SimpleHoster):
self.downloadFile()
def solveCaptcha(self):
- for i in range(5):
+ for _ in xrange(5):
found = re.search(self.LIMIT_WAIT_PATTERN, self.html)
if found:
wait_time = int(found.group(1))
@@ -135,7 +135,7 @@ class TurbobitNet(SimpleHoster):
found = re.search("(/\w+/timeout\.js\?\w+=)([^\"\'<>]+)", self.html)
url = "http://turbobit.net%s%s" % (found.groups() if found else (
- '/files/timeout.js?ver=', ''.join(random.choice('0123456789ABCDEF') for x in range(32))))
+ '/files/timeout.js?ver=', ''.join(random.choice('0123456789ABCDEF') for _ in xrange(32))))
fun = self.load(url)
self.setWait(65, False)