diff options
-rw-r--r-- | module/plugins/internal/SimpleHoster.py | 2 |
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 |