summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/hoster/UploadingCom.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-21 17:20:11 +0200
commitb5bff211b15187ff01dacaacdc022dc917d48b81 (patch)
tree16bf760303ab72dd6b4319f526bb874b73b5e283 /pyload/plugins/hoster/UploadingCom.py
parentFix EOF (diff)
downloadpyload-b5bff211b15187ff01dacaacdc022dc917d48b81.tar.xz
Fix retry time formats
Merges vuolter/pyload@498b9e3 (cherry picked from commit 381c4d02a900fac224ccaa802db080cf577ed2fb)
Diffstat (limited to 'pyload/plugins/hoster/UploadingCom.py')
-rw-r--r--pyload/plugins/hoster/UploadingCom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/plugins/hoster/UploadingCom.py b/pyload/plugins/hoster/UploadingCom.py
index a5c6946ff..230c67490 100644
--- a/pyload/plugins/hoster/UploadingCom.py
+++ b/pyload/plugins/hoster/UploadingCom.py
@@ -73,7 +73,7 @@ class UploadingCom(SimpleHoster):
if found:
self.pyfile.error = found.group(1)
self.logWarning(self.pyfile.error)
- self.retry(max_tries=6, wait_time=21600 if found.group(2) else 900, reason=self.pyfile.error)
+ self.retry(max_tries=6, wait_time=6 * 60 * 60 if found.group(2) else 15 * 60, reason=self.pyfile.error)
ajax_url = "http://uploading.com/files/get/?ajax"
self.req.http.c.setopt(HTTPHEADER, ["X-Requested-With: XMLHttpRequest"])