diff options
author | 2014-04-11 12:17:03 +0200 | |
---|---|---|
committer | 2014-04-11 12:17:03 +0200 | |
commit | 381c4d02a900fac224ccaa802db080cf577ed2fb (patch) | |
tree | 7ae70daa2def01e05193d2bbef3a851aa33eeae1 /module/plugins/hoster/QuickshareCz.py | |
parent | Fix EOF (diff) | |
download | pyload-381c4d02a900fac224ccaa802db080cf577ed2fb.tar.xz |
Fix retry time formats
Merges vuolter/pyload@498b9e3
Diffstat (limited to 'module/plugins/hoster/QuickshareCz.py')
-rw-r--r-- | module/plugins/hoster/QuickshareCz.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/QuickshareCz.py b/module/plugins/hoster/QuickshareCz.py index bbb2eaa1b..3c84ccbce 100644 --- a/module/plugins/hoster/QuickshareCz.py +++ b/module/plugins/hoster/QuickshareCz.py @@ -85,9 +85,9 @@ class QuickshareCz(SimpleHoster): found = re.search(r'/chyba/(\d+)', download_url) if found: if found.group(1) == '1': - self.retry(max_tries=60, wait_time=120, reason="This IP is already downloading") + self.retry(60, 2 * 60, "This IP is already downloading") elif found.group(1) == '2': - self.retry(max_tries=60, wait_time=60, reason="No free slots available") + self.retry(60, 60, "No free slots available") else: self.fail('Error %d' % found.group(1)) |