diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-09-26 22:20:24 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-09-26 22:20:24 +0200 |
commit | c084db5578b64d5fc621d768eab9fac413f5c5c2 (patch) | |
tree | f0851f7c9ca2b1d11c0107218d6d39936acfbcd9 /module/plugins/hoster/LomafileCom.py | |
parent | [TurbobitNet] Fixed some patterns (diff) | |
download | pyload-c084db5578b64d5fc621d768eab9fac413f5c5c2.tar.xz |
[LomafileCom] range -> xrange
Diffstat (limited to 'module/plugins/hoster/LomafileCom.py')
-rw-r--r-- | module/plugins/hoster/LomafileCom.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hoster/LomafileCom.py b/module/plugins/hoster/LomafileCom.py index 372d42fd3..98bf21751 100644 --- a/module/plugins/hoster/LomafileCom.py +++ b/module/plugins/hoster/LomafileCom.py @@ -22,7 +22,7 @@ class LomafileCom(SimpleHoster): def handleFree(self): - for _ in range(3): + for _ in xrange(3): captcha_id = re.search(r'src="http://lomafile\.com/captchas/(?P<id>\w+)\.jpg"', self.html) if not captcha_id: self.parseError("Unable to parse captcha id.") |