summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/OneFichierCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/accounts/OneFichierCom.py')
-rw-r--r--module/plugins/accounts/OneFichierCom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/accounts/OneFichierCom.py b/module/plugins/accounts/OneFichierCom.py
index 9be982bee..0249f2b93 100644
--- a/module/plugins/accounts/OneFichierCom.py
+++ b/module/plugins/accounts/OneFichierCom.py
@@ -30,7 +30,7 @@ class OneFichierCom(Account):
html = self.load("https://1fichier.com/console/abo.pl")
m = re.search(self.VALID_UNTIL_PATTERN, html)
- if m:
+ if m is not None:
expiredate = m.group(1)
self.log_debug("Expire date: " + expiredate)