summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/DebridItaliaCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/accounts/DebridItaliaCom.py')
-rw-r--r--module/plugins/accounts/DebridItaliaCom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/accounts/DebridItaliaCom.py b/module/plugins/accounts/DebridItaliaCom.py
index 3e9a5e283..50d849a98 100644
--- a/module/plugins/accounts/DebridItaliaCom.py
+++ b/module/plugins/accounts/DebridItaliaCom.py
@@ -35,7 +35,7 @@ class DebridItaliaCom(Account):
if 'Account premium not activated' not in html:
m = re.search(self.WALID_UNTIL_PATTERN, html)
- if m:
+ if m is not None:
validuntil = time.mktime(time.strptime(m.group(1), "%d/%m/%Y %H:%M"))
info = {'premium': True, 'validuntil': validuntil, 'trafficleft': -1}
else: