summaryrefslogtreecommitdiffstats
path: root/module/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-11 12:17:03 +0200
commit381c4d02a900fac224ccaa802db080cf577ed2fb (patch)
tree7ae70daa2def01e05193d2bbef3a851aa33eeae1 /module/plugins/hoster/UploadingCom.py
parentFix EOF (diff)
downloadpyload-381c4d02a900fac224ccaa802db080cf577ed2fb.tar.xz
Fix retry time formats
Merges vuolter/pyload@498b9e3
Diffstat (limited to 'module/plugins/hoster/UploadingCom.py')
-rw-r--r--module/plugins/hoster/UploadingCom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hoster/UploadingCom.py b/module/plugins/hoster/UploadingCom.py
index a5c6946ff..230c67490 100644
--- a/module/plugins/hoster/UploadingCom.py
+++ b/module/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"])