summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/QuickshareCz.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/accounts/QuickshareCz.py')
-rw-r--r--module/plugins/accounts/QuickshareCz.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/accounts/QuickshareCz.py b/module/plugins/accounts/QuickshareCz.py
index 74377a052..19cde51c4 100644
--- a/module/plugins/accounts/QuickshareCz.py
+++ b/module/plugins/accounts/QuickshareCz.py
@@ -23,7 +23,7 @@ class QuickshareCz(Account):
html = self.load("http://www.quickshare.cz/premium")
m = re.search(self.TRAFFIC_LEFT_PATTERN, html)
- if m:
+ if m is not None:
trafficleft = self.parse_traffic(m.group(1))
premium = True if trafficleft else False
else: