summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/account/DebridItaliaCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugin/account/DebridItaliaCom.py')
-rw-r--r--pyload/plugin/account/DebridItaliaCom.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/pyload/plugin/account/DebridItaliaCom.py b/pyload/plugin/account/DebridItaliaCom.py
index de97f6e64..563a7c531 100644
--- a/pyload/plugin/account/DebridItaliaCom.py
+++ b/pyload/plugin/account/DebridItaliaCom.py
@@ -1,8 +1,7 @@
# -*- coding: utf-8 -*-
import re
-
-from time import mktime, strptime
+import time
from pyload.plugin.Account import Account
@@ -28,7 +27,7 @@ class DebridItaliaCom(Account):
if 'Account premium not activated' not in html:
m = re.search(self.WALID_UNTIL_PATTERN, html)
if m:
- validuntil = mktime(strptime(m.group(1), "%d/%m/%Y %H:%M"))
+ validuntil = time.mktime(time.strptime(m.group(1), "%d/%m/%Y %H:%M"))
info = {'premium': True, 'validuntil': validuntil, 'trafficleft': -1}
else:
self.logError(_("Unable to retrieve account information"))