summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/account/CzshareCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugin/account/CzshareCom.py')
-rw-r--r--pyload/plugin/account/CzshareCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/plugin/account/CzshareCom.py b/pyload/plugin/account/CzshareCom.py
index dfe78c21c..c57e8195b 100644
--- a/pyload/plugin/account/CzshareCom.py
+++ b/pyload/plugin/account/CzshareCom.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
-from time import mktime, strptime
import re
+import time
from pyload.plugin.Account import Account
@@ -30,7 +30,7 @@ class CzshareCom(Account):
try:
m = re.search(self.CREDIT_LEFT_PATTERN, html)
trafficleft = self.parseTraffic(m.group(1).replace(' ', '').replace(',', '.')) + m.group(2)
- validuntil = mktime(strptime(m.group(3), '%d.%m.%y %H:%M'))
+ validuntil = time.mktime(time.strptime(m.group(3), '%d.%m.%y %H:%M'))
except Exception, e:
self.logError(e)