summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/FileserveCom.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/FileserveCom.py
parentFix EOF (diff)
downloadpyload-381c4d02a900fac224ccaa802db080cf577ed2fb.tar.xz
Fix retry time formats
Merges vuolter/pyload@498b9e3
Diffstat (limited to 'module/plugins/hoster/FileserveCom.py')
-rw-r--r--module/plugins/hoster/FileserveCom.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/FileserveCom.py b/module/plugins/hoster/FileserveCom.py
index 6697c133f..30471d69f 100644
--- a/module/plugins/hoster/FileserveCom.py
+++ b/module/plugins/hoster/FileserveCom.py
@@ -133,9 +133,9 @@ class FileserveCom(Hoster):
self.doLongWait(self.lastCheck)
elif check == "limit":
#download limited reached for today (not a exact time known)
- self.setWait(180 * 60, True) # wait 3 hours
+ self.setWait(3 * 60 * 60, True) # wait 3 hours #TO-DO: resolve waittime using UnrestrictLi's secondsToMidnight
self.wait()
- self.retry(max_tries=0)
+ self.retry()
self.thread.m.reconnecting.wait(3) # Ease issue with later downloads appearing to be in parallel
@@ -178,7 +178,7 @@ class FileserveCom(Hoster):
self.fail("Invalid captcha")
def doLongWait(self, m):
- wait_time = (int(m.group(1)) * {'seconds': 1, 'minutes': 60, 'hours': 3600}[m.group(2)]) if m else 720
+ wait_time = (int(m.group(1)) * {'seconds': 1, 'minutes': 60, 'hours': 3600}[m.group(2)]) if m else 12 * 60
self.setWait(wait_time, True)
self.wait()
self.retry()