From c084db5578b64d5fc621d768eab9fac413f5c5c2 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Fri, 26 Sep 2014 22:20:24 +0200 Subject: [LomafileCom] range -> xrange --- module/plugins/hoster/LomafileCom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module') 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\w+)\.jpg"', self.html) if not captcha_id: self.parseError("Unable to parse captcha id.") -- cgit v1.2.3