summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/DataportCz.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-11 12:17:38 +0200
commit7f1467c64fe5c0e902498b3252afd65cb68ed2f9 (patch)
tree9e408cdfc653731c8b84e83eecd0d26bcf2124ff /module/plugins/hoster/DataportCz.py
parentFix retry time formats (diff)
downloadpyload-7f1467c64fe5c0e902498b3252afd65cb68ed2f9.tar.xz
Use wait to set time in SimpleHoster plugins
Merges vuolter/pyload@bb002ac
Diffstat (limited to 'module/plugins/hoster/DataportCz.py')
-rw-r--r--module/plugins/hoster/DataportCz.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/module/plugins/hoster/DataportCz.py b/module/plugins/hoster/DataportCz.py
index ebd5d13a8..000bd79a7 100644
--- a/module/plugins/hoster/DataportCz.py
+++ b/module/plugins/hoster/DataportCz.py
@@ -58,8 +58,7 @@ class DataportCz(SimpleHoster):
raise PluginParseError('invalid captcha')
elif check == "slot":
self.logDebug("No free slots - wait 60s and retry")
- self.setWait(60, False)
- self.wait()
+ self.wait(60, False)
self.html = self.load(self.pyfile.url, decode=True)
continue
else: