mmarquezs / My.Jdownloader-API-Python-Library

My.Jdownloader API Python Library
MIT License
85 stars 36 forks source link

Invalid request not decrypted #22

Closed spacemanspiff2007 closed 5 years ago

spacemanspiff2007 commented 6 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))

mmarquezs commented 6 years ago

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.