Closed spacemanspiff2007 closed 5 years ago
When response != 200 the response does not get encrypted and the json-loading fails.
Line 837 error_msg=json.loads(encrypted_response.text) should be error_msg=json.loads(self.__decrypt(self.__device_encryption_token,encrypted_response.text))
error_msg=json.loads(encrypted_response.text)
error_msg=json.loads(self.__decrypt(self.__device_encryption_token,encrypted_response.text))
I can't check it right now. But I remember that there was a fix for that in the develop branch. Maybe I didn't merge it on master/pip.
When response != 200 the response does not get encrypted and the json-loading fails.
Line 837
error_msg=json.loads(encrypted_response.text)
should beerror_msg=json.loads(self.__decrypt(self.__device_encryption_token,encrypted_response.text))