summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/account/FileserveCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugin/account/FileserveCom.py')
-rw-r--r--pyload/plugin/account/FileserveCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/plugin/account/FileserveCom.py b/pyload/plugin/account/FileserveCom.py
index 9aab88d2b..08dfe24c7 100644
--- a/pyload/plugin/account/FileserveCom.py
+++ b/pyload/plugin/account/FileserveCom.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-from time import mktime, strptime
+import time
from pyload.plugin.Account import Account
from pyload.utils import json_loads
@@ -24,7 +24,7 @@ class FileserveCom(Account):
res = json_loads(html)
if res['type'] == "premium":
- validuntil = mktime(strptime(res['expireTime'], "%Y-%m-%d %H:%M:%S"))
+ validuntil = time.mktime(time.strptime(res['expireTime'], "%Y-%m-%d %H:%M:%S"))
return {"trafficleft": res['traffic'], "validuntil": validuntil}
else:
return {"premium": False, "trafficleft": None, "validuntil": None}