From b5bff211b15187ff01dacaacdc022dc917d48b81 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Fri, 11 Apr 2014 12:17:03 +0200 Subject: Fix retry time formats Merges vuolter/pyload@498b9e3 (cherry picked from commit 381c4d02a900fac224ccaa802db080cf577ed2fb) --- pyload/plugins/hoster/FilefactoryCom.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pyload/plugins/hoster/FilefactoryCom.py') diff --git a/pyload/plugins/hoster/FilefactoryCom.py b/pyload/plugins/hoster/FilefactoryCom.py index 8e0bd2494..97204a1a2 100644 --- a/pyload/plugins/hoster/FilefactoryCom.py +++ b/pyload/plugins/hoster/FilefactoryCom.py @@ -39,7 +39,7 @@ class FilefactoryCom(SimpleHoster): if "Currently only Premium Members can download files larger than" in self.html: self.fail("File too large for free download") elif "All free download slots on this server are currently in use" in self.html: - self.retry(50, 900, "All free slots are busy") + self.retry(50, 15 * 60, "All free slots are busy") m = re.search(r'data-href-direct="(http://[^"]+)"', self.html) if m: @@ -80,7 +80,7 @@ class FilefactoryCom(SimpleHoster): if check == "multiple": self.logDebug("Parallel downloads detected; waiting 15 minutes") - self.retry(wait_time=15 * 60, reason='Parallel downloads') + self.retry(wait_time=15 * 60, reason="Parallel downloads") elif check == "error": self.fail("Unknown error") -- cgit v1.2.3