summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/hoster/OneFichierCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-04-11 12:17:38 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2014-04-21 17:20:14 +0200
commit52b5c2a15b2dfa9bcc2ffdcc90b8e3f29fdaa7d8 (patch)
treebe392f70e0d628a97e793ef47080e0669420e33a /pyload/plugins/hoster/OneFichierCom.py
parentFix retry time formats (diff)
downloadpyload-52b5c2a15b2dfa9bcc2ffdcc90b8e3f29fdaa7d8.tar.xz
Use wait to set time in SimpleHoster plugins
Merges vuolter/pyload@bb002ac (cherry picked from commit 7f1467c64fe5c0e902498b3252afd65cb68ed2f9)
Diffstat (limited to 'pyload/plugins/hoster/OneFichierCom.py')
-rw-r--r--pyload/plugins/hoster/OneFichierCom.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/pyload/plugins/hoster/OneFichierCom.py b/pyload/plugins/hoster/OneFichierCom.py
index 5b69db63d..e16793cf7 100644
--- a/pyload/plugins/hoster/OneFichierCom.py
+++ b/pyload/plugins/hoster/OneFichierCom.py
@@ -69,8 +69,7 @@ class OneFichierCom(SimpleHoster):
self.waitAndRetry(int(self.lastcheck.group(1)) * 60)
def waitAndRetry(self, wait_time):
- self.setWait(wait_time, True)
- self.wait()
+ self.wait(wait_time, True)
self.retry()
def setup(self):