summaryrefslogtreecommitdiffstats
path: root/module/plugins
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-11-01 22:20:06 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-11-01 22:20:06 +0100
commit11fcb4ebb1d3f38e8a49f316308520ebcf8cf658 (patch)
tree6ec60a31f2a3297e375999ec22ae60f091066739 /module/plugins
parent[ZippyshareCom] Fix get_checksum (thx zapp-brannigan) (diff)
downloadpyload-11fcb4ebb1d3f38e8a49f316308520ebcf8cf658.tar.xz
[SimpleHoster] Fix typo
Diffstat (limited to 'module/plugins')
-rw-r--r--module/plugins/internal/SimpleHoster.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/internal/SimpleHoster.py b/module/plugins/internal/SimpleHoster.py
index e601759cf..1d85dc01b 100644
--- a/module/plugins/internal/SimpleHoster.py
+++ b/module/plugins/internal/SimpleHoster.py
@@ -294,7 +294,7 @@ class SimpleHoster(Hoster):
self.req.http.c.setopt(FOLLOWLOCATION, 1)
if parseFileInfo(self, url, html)[2] != 2:
- try
+ try:
return re.search(r"Location\s*:\s*(.+)", self.req.http.header, re.I).group(1)
except:
pass