diff options
Diffstat (limited to 'module/plugins/accounts/RapidgatorNet.py')
-rw-r--r-- | module/plugins/accounts/RapidgatorNet.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/accounts/RapidgatorNet.py b/module/plugins/accounts/RapidgatorNet.py index 3057fb34c..3fb2cf928 100644 --- a/module/plugins/accounts/RapidgatorNet.py +++ b/module/plugins/accounts/RapidgatorNet.py @@ -36,7 +36,7 @@ class RapidgatorNet(Account): json_data = json.loads(html) - if json_data['response_status'] is 200: + if json_data['response_status'] == 200: if "reset_in" in json_data['response']: self._schedule_refresh(user, json_data['response']['reset_in']) @@ -65,7 +65,7 @@ class RapidgatorNet(Account): json_data = json.loads(html) - if json_data['response_status'] is 200: + if json_data['response_status'] == 200: data['sid'] = str(json_data['response']['session_id']) return else: |