summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/PremiumizeMe.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/accounts/PremiumizeMe.py')
-rw-r--r--module/plugins/accounts/PremiumizeMe.py4
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()