diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-12-14 17:27:59 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-12-14 17:27:59 +0100 |
commit | 72e06ea42a02d68627839017f124cfd883623e77 (patch) | |
tree | b5e2cad30c5fe484a1dee86d59fe2298934577d9 /module/plugins/internal/SimpleHoster.py | |
parent | cp65001 is broken (diff) | |
download | pyload-72e06ea42a02d68627839017f124cfd883623e77.tar.xz |
pyLoad 0.4.9
Diffstat (limited to 'module/plugins/internal/SimpleHoster.py')
-rw-r--r-- | module/plugins/internal/SimpleHoster.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/module/plugins/internal/SimpleHoster.py b/module/plugins/internal/SimpleHoster.py index 11866bb16..aae76e781 100644 --- a/module/plugins/internal/SimpleHoster.py +++ b/module/plugins/internal/SimpleHoster.py @@ -70,7 +70,7 @@ def create_getInfo(plugin): class PluginParseError(Exception): def __init__(self, msg): - Exception.__init__ + Exception.__init__(self) self.value = 'Parse error (%s) - plugin may be out of date' % msg def __str__(self): return repr(self.value) @@ -111,8 +111,7 @@ class SimpleHoster(Hoster): def getFileInfo(self): self.logDebug("URL: %s" % self.pyfile.url) if hasattr(self, "TEMP_OFFLINE_PATTERN") and search(self.TEMP_OFFLINE_PATTERN, self.html): - self.logInfo("Link %s is temporarily offline" % self.pyfile.url) - self.retry(5, 3600, "Temporarily offline") + self.tempOffline() file_info = parseFileInfo(self, infomode = True) if file_info['status'] == 1: |