From 9e73bfdafed862595be4901e225f72d1372a6a86 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Fri, 11 Mar 2011 23:47:13 +0100 Subject: fileserv error message --- module/network/HTTPRequest.py | 2 -- module/plugins/hoster/FileserveCom.py | 2 +- 2 files changed, 1 insertion(+), 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)) -- cgit v1.2.3