diff options
-rw-r--r-- | module/network/HTTPRequest.py | 2 | ||||
-rw-r--r-- | module/plugins/hoster/FileserveCom.py | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/module/network/HTTPRequest.py b/module/network/HTTPRequest.py index cd3635bcf..50c09afe2 100644 --- a/module/network/HTTPRequest.py +++ b/module/network/HTTPRequest.py @@ -168,8 +168,6 @@ class HTTPRequest(): self.lastEffectiveURL = self.c.getinfo(pycurl.EFFECTIVE_URL) self.addCookies() - self.headers = [] - return rep def verifyHeader(self): diff --git a/module/plugins/hoster/FileserveCom.py b/module/plugins/hoster/FileserveCom.py index 9e14bfe7d..852dbb5b8 100644 --- a/module/plugins/hoster/FileserveCom.py +++ b/module/plugins/hoster/FileserveCom.py @@ -118,7 +118,7 @@ class FileserveCom(Hoster): wait = wait.group(1)
if wait == "404":
self.log.debug("No wait time returned")
- self.setWait(30)
+ self.fail("No wait time returned")
else:
self.setWait(int(wait))
|