summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/GigapetaCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-10 14:36:59 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-10 14:36:59 +0200
commit1e6846b3c435b0d71be83670d09bd019a84823ec (patch)
treee7a93e2a5583e50a1a6a8bff4ac1b84e4a230782 /module/plugins/hoster/GigapetaCom.py
parent[SimpleHoster] Fix https://github.com/pyload/pyload/issues/1341 (diff)
downloadpyload-1e6846b3c435b0d71be83670d09bd019a84823ec.tar.xz
Spare code cosmetics
Diffstat (limited to 'module/plugins/hoster/GigapetaCom.py')
-rw-r--r--module/plugins/hoster/GigapetaCom.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/module/plugins/hoster/GigapetaCom.py b/module/plugins/hoster/GigapetaCom.py
index bb53a12ee..2fe44ca85 100644
--- a/module/plugins/hoster/GigapetaCom.py
+++ b/module/plugins/hoster/GigapetaCom.py
@@ -45,7 +45,7 @@ class GigapetaCom(SimpleHoster):
m = re.search(r'Location\s*:\s*(.+)', self.req.http.header, re.I)
if m:
- download_url = m.group(1).rstrip() #@TODO: Remove .rstrip() in 0.4.10
+ self.link = m.group(1).rstrip() #@TODO: Remove .rstrip() in 0.4.10
break
elif "Entered figures don&#96;t coincide with the picture" in self.html:
self.invalidCaptcha()
@@ -53,7 +53,6 @@ class GigapetaCom(SimpleHoster):
self.fail(_("No valid captcha code entered"))
self.req.http.c.setopt(FOLLOWLOCATION, 1)
- self.download(download_url)
def checkErrors(self):