diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-04-11 12:17:38 +0200 |
---|---|---|
committer | Stefano <l.stickell@yahoo.it> | 2014-04-11 12:17:38 +0200 |
commit | 7f1467c64fe5c0e902498b3252afd65cb68ed2f9 (patch) | |
tree | 9e408cdfc653731c8b84e83eecd0d26bcf2124ff /module/plugins/hoster/TurbobitNet.py | |
parent | Fix retry time formats (diff) | |
download | pyload-7f1467c64fe5c0e902498b3252afd65cb68ed2f9.tar.xz |
Use wait to set time in SimpleHoster plugins
Merges vuolter/pyload@bb002ac
Diffstat (limited to 'module/plugins/hoster/TurbobitNet.py')
-rw-r--r-- | module/plugins/hoster/TurbobitNet.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/module/plugins/hoster/TurbobitNet.py b/module/plugins/hoster/TurbobitNet.py index 5bed39712..7547d96a1 100644 --- a/module/plugins/hoster/TurbobitNet.py +++ b/module/plugins/hoster/TurbobitNet.py @@ -74,8 +74,7 @@ class TurbobitNet(SimpleHoster): found = re.search(self.LIMIT_WAIT_PATTERN, self.html) if found: wait_time = int(found.group(1)) - self.setWait(wait_time, wait_time > 60) - self.wait() + self.wait(wait_time, wait_time > 60) self.retry() action, inputs = self.parseHtmlForm("action='#'") |