From 381c4d02a900fac224ccaa802db080cf577ed2fb 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 --- module/plugins/hoster/UploadheroCom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/plugins/hoster/UploadheroCom.py') diff --git a/module/plugins/hoster/UploadheroCom.py b/module/plugins/hoster/UploadheroCom.py index 993f34a0f..053705c05 100644 --- a/module/plugins/hoster/UploadheroCom.py +++ b/module/plugins/hoster/UploadheroCom.py @@ -81,7 +81,7 @@ class UploadheroCom(SimpleHoster): self.html = self.load("http://uploadhero.co%s" % found.group(1)) found = re.search(self.IP_WAIT_PATTERN, self.html) - wait_time = (int(found.group(1)) * 60 + int(found.group(2))) if found else 300 + wait_time = (int(found.group(1)) * 60 + int(found.group(2))) if found else 5 * 60 self.setWait(wait_time, True) self.wait() self.retry() -- cgit v1.2.3