diff options
author | synweap15 <shamdog+github@gmail.com> | 2014-07-09 12:40:13 +0200 |
---|---|---|
committer | synweap15 <shamdog+github@gmail.com> | 2014-07-09 12:40:13 +0200 |
commit | 1df1779ded75e863994449ba034ed31ab2018ddc (patch) | |
tree | 164cd4dbafc7b3da1384c1e2f0f64e6a0ef1df99 | |
parent | fail messages localization and dictionary (diff) | |
download | pyload-1df1779ded75e863994449ba034ed31ab2018ddc.tar.xz |
remove explicit "is not None"
-rw-r--r-- | module/plugins/accounts/NoPremiumPl.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/accounts/NoPremiumPl.py b/module/plugins/accounts/NoPremiumPl.py index 49c9b7653..5f70440ac 100644 --- a/module/plugins/accounts/NoPremiumPl.py +++ b/module/plugins/accounts/NoPremiumPl.py @@ -43,7 +43,7 @@ class NoPremiumPl(Account): premium = False valid_untill = -1 - if "expire" in result.keys() and result["expire"] is not None: + if "expire" in result.keys() and result["expire"]: premium = True valid_untill = mktime(datetime.fromtimestamp(int(result["expire"])).timetuple()) traffic_left = result["balance"] * 1024 |