diff options
author | 2014-04-11 12:17:38 +0200 | |
---|---|---|
committer | 2014-04-21 17:20:14 +0200 | |
commit | 52b5c2a15b2dfa9bcc2ffdcc90b8e3f29fdaa7d8 (patch) | |
tree | be392f70e0d628a97e793ef47080e0669420e33a /pyload/plugins/hoster/DataportCz.py | |
parent | Fix retry time formats (diff) | |
download | pyload-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/DataportCz.py')
-rw-r--r-- | pyload/plugins/hoster/DataportCz.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pyload/plugins/hoster/DataportCz.py b/pyload/plugins/hoster/DataportCz.py index ebd5d13a8..000bd79a7 100644 --- a/pyload/plugins/hoster/DataportCz.py +++ b/pyload/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: |