summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/FshareVn.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-04-11 12:17:03 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2014-04-11 12:17:03 +0200
commit381c4d02a900fac224ccaa802db080cf577ed2fb (patch)
tree7ae70daa2def01e05193d2bbef3a851aa33eeae1 /module/plugins/hoster/FshareVn.py
parentFix EOF (diff)
downloadpyload-381c4d02a900fac224ccaa802db080cf577ed2fb.tar.xz
Fix retry time formats
Merges vuolter/pyload@498b9e3
Diffstat (limited to 'module/plugins/hoster/FshareVn.py')
-rw-r--r--module/plugins/hoster/FshareVn.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/FshareVn.py b/module/plugins/hoster/FshareVn.py
index 6b73f1975..34539f965 100644
--- a/module/plugins/hoster/FshareVn.py
+++ b/module/plugins/hoster/FshareVn.py
@@ -100,12 +100,12 @@ class FshareVn(SimpleHoster):
if found:
self.logInfo("Wait until %s ICT" % found.group(1))
wait_until = mktime(strptime(found.group(1), "%d/%m/%Y %H:%M"))
- self.setWait(wait_until - mktime(gmtime()) - 7 * 3600, True)
+ self.setWait(wait_until - mktime(gmtime()) - 7 * 60 * 60, True)
self.wait()
self.retry()
elif '<ul class="message-error">' in self.html:
self.logError("Unknown error occured or wait time not parsed")
- self.retry(30, 120, "Unknown error")
+ self.retry(30, 2 * 60, "Unknown error")
def checkDownloadedFile(self):
# check download