diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-04-11 12:17:03 +0200 |
---|---|---|
committer | Stefano <l.stickell@yahoo.it> | 2014-04-21 17:20:11 +0200 |
commit | b5bff211b15187ff01dacaacdc022dc917d48b81 (patch) | |
tree | 16bf760303ab72dd6b4319f526bb874b73b5e283 /pyload/plugins/hoster/UploadheroCom.py | |
parent | Fix EOF (diff) | |
download | pyload-b5bff211b15187ff01dacaacdc022dc917d48b81.tar.xz |
Fix retry time formats
Merges vuolter/pyload@498b9e3
(cherry picked from commit 381c4d02a900fac224ccaa802db080cf577ed2fb)
Diffstat (limited to 'pyload/plugins/hoster/UploadheroCom.py')
-rw-r--r-- | pyload/plugins/hoster/UploadheroCom.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/plugins/hoster/UploadheroCom.py b/pyload/plugins/hoster/UploadheroCom.py index 993f34a0f..053705c05 100644 --- a/pyload/plugins/hoster/UploadheroCom.py +++ b/pyload/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() |