summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal
diff options
context:
space:
mode:
authorGravatar zoidberg10 <zoidberg@mujmail.cz> 2011-12-14 14:17:08 +0100
committerGravatar zoidberg10 <zoidberg@mujmail.cz> 2011-12-14 14:17:08 +0100
commitb94182bf303903531944b4bfab744e574be1540c (patch)
tree42574198f7b34668844b1b4d4e8a13727ca3a984 /module/plugins/internal
parentmore fixes (diff)
downloadpyload-b94182bf303903531944b4bfab744e574be1540c.tar.xz
fix input encoding in setup
Diffstat (limited to 'module/plugins/internal')
-rw-r--r--module/plugins/internal/SimpleHoster.py3
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: