diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-12-14 16:11:16 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-12-27 21:20:16 +0100 |
commit | f9e57022de88730da643f5fb4efe5599c879c6ad (patch) | |
tree | ba5d6e2db1bb4c85c1e482330cafec8d53801871 /module/plugins/accounts/PremiumizeMe.py | |
parent | Update captchas (diff) | |
download | pyload-f9e57022de88730da643f5fb4efe5599c879c6ad.tar.xz |
[accounts] Strict comparison for numbers
Diffstat (limited to 'module/plugins/accounts/PremiumizeMe.py')
-rw-r--r-- | module/plugins/accounts/PremiumizeMe.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/accounts/PremiumizeMe.py b/module/plugins/accounts/PremiumizeMe.py index bd7333843..66ecfb214 100644 --- a/module/plugins/accounts/PremiumizeMe.py +++ b/module/plugins/accounts/PremiumizeMe.py @@ -29,7 +29,7 @@ class PremiumizeMe(MultiAccount): data = json.loads(answer) #: If account is not valid thera are no hosters available - if data['status'] != 200: + if data['status'] is not 200: return [] #: Extract hosters from json file @@ -56,7 +56,7 @@ class PremiumizeMe(MultiAccount): status = self.get_account_status(user, password) #: Check if user and password are valid - if status['status'] != 200: + if status['status'] is not 200: self.fail_login() |