summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/NitroflareCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/accounts/NitroflareCom.py')
-rw-r--r--module/plugins/accounts/NitroflareCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/accounts/NitroflareCom.py b/module/plugins/accounts/NitroflareCom.py
index 11a3a43e7..70804d4e9 100644
--- a/module/plugins/accounts/NitroflareCom.py
+++ b/module/plugins/accounts/NitroflareCom.py
@@ -33,7 +33,7 @@ class NitroflareCom(Account):
get={'s': "premium"})
m = re.search(self.VALID_UNTIL_PATTERN, html)
- if m:
+ if m is not None:
expiredate = m.group(1).strip()
self.log_debug("Time Left: " + expiredate)
@@ -54,7 +54,7 @@ class NitroflareCom(Account):
validuntil = -1
m = re.search(self.TRAFFIC_LEFT_PATTERN, html)
- if m:
+ if m is not None:
try:
trafficleft = self.parse_traffic(str(max(0, 50 - float(m.group(1)))) + " GB")