From b5bff211b15187ff01dacaacdc022dc917d48b81 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Fri, 11 Apr 2014 12:17:03 +0200 Subject: Fix retry time formats Merges vuolter/pyload@498b9e3 (cherry picked from commit 381c4d02a900fac224ccaa802db080cf577ed2fb) --- pyload/plugins/accounts/HotfileCom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyload/plugins/accounts/HotfileCom.py') diff --git a/pyload/plugins/accounts/HotfileCom.py b/pyload/plugins/accounts/HotfileCom.py index 72a04777f..7188e6758 100644 --- a/pyload/plugins/accounts/HotfileCom.py +++ b/pyload/plugins/accounts/HotfileCom.py @@ -47,7 +47,7 @@ class HotfileCom(Account): info["premium_until"] = info["premium_until"][:19] zone = int(zone[:3]) - validuntil = int(mktime(strptime(info["premium_until"], "%Y-%m-%d %H:%M:%S"))) + (zone * 3600) + validuntil = int(mktime(strptime(info["premium_until"], "%Y-%m-%d %H:%M:%S"))) + (zone * 60 * 60) tmp = {"validuntil": validuntil, "trafficleft": -1, "premium": True} elif info['is_premium'] == '0': -- cgit v1.2.3