summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/account/UlozTo.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugin/account/UlozTo.py')
-rw-r--r--pyload/plugin/account/UlozTo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/plugin/account/UlozTo.py b/pyload/plugin/account/UlozTo.py
index 34e56d325..c43246e7d 100644
--- a/pyload/plugin/account/UlozTo.py
+++ b/pyload/plugin/account/UlozTo.py
@@ -27,7 +27,7 @@ class UlozTo(Account):
m = re.search(self.TRAFFIC_LEFT_PATTERN, html)
trafficleft = float(m.group(1).replace(' ', '').replace(',', '.')) * 1000 * 1.048 if m else 0
- premium = True if trafficleft else False
+ premium = bool(trafficleft)
return {'validuntil': -1, 'trafficleft': trafficleft, 'premium': premium}