diff options
author | 2015-04-20 21:38:42 +0200 | |
---|---|---|
committer | 2015-04-20 23:01:29 +0200 | |
commit | 9327b55e147d95b5865f23788f980c7268ea03e3 (patch) | |
tree | 0260b6f90b9e6fab5548e29e44b6d66f3334c98e /pyload/plugin/account/QuickshareCz.py | |
parent | PEP-8, Python Zen, refactor and reduce code (part 9 in master module/network) (diff) | |
download | pyload-9327b55e147d95b5865f23788f980c7268ea03e3.tar.xz |
Spare code cosmetics (7)
Diffstat (limited to 'pyload/plugin/account/QuickshareCz.py')
-rw-r--r-- | pyload/plugin/account/QuickshareCz.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/plugin/account/QuickshareCz.py b/pyload/plugin/account/QuickshareCz.py index 67dd11ac3..2f71d9ae8 100644 --- a/pyload/plugin/account/QuickshareCz.py +++ b/pyload/plugin/account/QuickshareCz.py @@ -24,7 +24,7 @@ class QuickshareCz(Account): m = re.search(self.TRAFFIC_LEFT_PATTERN, html) if m: trafficleft = self.parseTraffic(m.group(1)) - premium = True if trafficleft else False + premium = bool(trafficleft) else: trafficleft = None premium = False |