diff options
author | zoidberg10 <zoidberg@mujmail.cz> | 2011-12-14 14:17:08 +0100 |
---|---|---|
committer | zoidberg10 <zoidberg@mujmail.cz> | 2011-12-14 14:17:08 +0100 |
commit | b94182bf303903531944b4bfab744e574be1540c (patch) | |
tree | 42574198f7b34668844b1b4d4e8a13727ca3a984 /module/plugins/internal | |
parent | more fixes (diff) | |
download | pyload-b94182bf303903531944b4bfab744e574be1540c.tar.xz |
fix input encoding in setup
Diffstat (limited to 'module/plugins/internal')
-rw-r--r-- | module/plugins/internal/SimpleHoster.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/module/plugins/internal/SimpleHoster.py b/module/plugins/internal/SimpleHoster.py index 14cb8a15e..11866bb16 100644 --- a/module/plugins/internal/SimpleHoster.py +++ b/module/plugins/internal/SimpleHoster.py @@ -111,7 +111,8 @@ 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.tempOffline() + self.logInfo("Link %s is temporarily offline" % self.pyfile.url) + self.retry(5, 3600, "Temporarily offline") file_info = parseFileInfo(self, infomode = True) if file_info['status'] == 1: |