summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
Diffstat (limited to 'module')
-rw-r--r--module/plugins/accounts/RapideoPl.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/module/plugins/accounts/RapideoPl.py b/module/plugins/accounts/RapideoPl.py
index cbec9809a..f35d23827 100644
--- a/module/plugins/accounts/RapideoPl.py
+++ b/module/plugins/accounts/RapideoPl.py
@@ -41,8 +41,7 @@ class RapideoPl(Account):
premium = False
valid_untill = -1
- is_premium = "expire" in result.keys() and result["expire"] is not None
- if is_premium:
+ if "expire" in result.keys() and result["expire"]:
premium = True
valid_untill = mktime(datetime.fromtimestamp(int(result["expire"])).timetuple())