summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/GigapetaCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/GigapetaCom.py')
-rw-r--r--module/plugins/hoster/GigapetaCom.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/GigapetaCom.py b/module/plugins/hoster/GigapetaCom.py
index 566d044b4..9d9825cb8 100644
--- a/module/plugins/hoster/GigapetaCom.py
+++ b/module/plugins/hoster/GigapetaCom.py
@@ -53,9 +53,9 @@ class GigapetaCom(SimpleHoster):
"captcha": captcha,
"download": "Download"})
- found = re.search(r"Location\s*:\s*(.*)", self.req.http.header, re.I)
- if found:
- download_url = found.group(1)
+ m = re.search(r"Location\s*:\s*(.*)", self.req.http.header, re.I)
+ if m:
+ download_url = m.group(1)
break
elif "Entered figures don`t coincide with the picture" in self.html:
self.invalidCaptcha()