diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-04-11 12:17:03 +0200 |
---|---|---|
committer | Stefano <l.stickell@yahoo.it> | 2014-04-21 17:20:11 +0200 |
commit | b5bff211b15187ff01dacaacdc022dc917d48b81 (patch) | |
tree | 16bf760303ab72dd6b4319f526bb874b73b5e283 /pyload/plugins/accounts/AlldebridCom.py | |
parent | Fix EOF (diff) | |
download | pyload-b5bff211b15187ff01dacaacdc022dc917d48b81.tar.xz |
Fix retry time formats
Merges vuolter/pyload@498b9e3
(cherry picked from commit 381c4d02a900fac224ccaa802db080cf577ed2fb)
Diffstat (limited to 'pyload/plugins/accounts/AlldebridCom.py')
-rw-r--r-- | pyload/plugins/accounts/AlldebridCom.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/plugins/accounts/AlldebridCom.py b/pyload/plugins/accounts/AlldebridCom.py index ea173d19d..a0a518ce1 100644 --- a/pyload/plugins/accounts/AlldebridCom.py +++ b/pyload/plugins/accounts/AlldebridCom.py @@ -34,7 +34,7 @@ class AlldebridCom(MultiHoster): data["password"])) self.logDebug(page) xml = dom.parseString(page) - exp_time = time() + int(xml.getElementsByTagName("date")[0].childNodes[0].nodeValue) * 86400 + exp_time = time() + int(xml.getElementsByTagName("date")[0].childNodes[0].nodeValue) * 24 * 60 * 60 account_info = {"validuntil": exp_time, "trafficleft": -1} return account_info |