diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-11-09 21:48:16 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-11-09 21:48:16 +0100 |
commit | 344f22f9ba8b3aa4e7d8049084db473b76cfb4e3 (patch) | |
tree | 537ffb3cc258d5ba0839b44f702c003c154a0396 /module/plugins/hoster/OneFichierCom.py | |
parent | New crypter LinkCryptWs (diff) | |
download | pyload-344f22f9ba8b3aa4e7d8049084db473b76cfb4e3.tar.xz |
[Plugin] Update and bugfix
Diffstat (limited to 'module/plugins/hoster/OneFichierCom.py')
-rw-r--r-- | module/plugins/hoster/OneFichierCom.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/module/plugins/hoster/OneFichierCom.py b/module/plugins/hoster/OneFichierCom.py index 190a9175e..820a4609f 100644 --- a/module/plugins/hoster/OneFichierCom.py +++ b/module/plugins/hoster/OneFichierCom.py @@ -41,11 +41,9 @@ class OneFichierCom(SimpleHoster): def handle(self, reconnect): m = re.search(self.WAIT_PATTERN, self.html) if m: - wait_time = int(m.group(1)) + wait_time = int(m.group(1)) * 60 - self.logDebug(_("Wait %d minutes") % wait_time) - - self.wait(wait_time * 60, reconnect) + self.wait(wait_time, reconnect) self.retry(reason="You have to wait been each free download") id = self.info['ID1'] or self.info['ID2'] |