Open bettsmatt opened 8 years ago
Are you going to fix this?
I'm happy for you to create a pull request and make a fix?
We have now added instructions for this on the README page including a build monitor.
Apologies for letting this slip.
Given this is the Mendeley API I would prefer if you fixed it. It is still an issue, this is our current work around.
try:
session = MendeleyAPIFinder.__start_mendeley_session()
except KeyError as e:
pass
else:
# Do stuff with the session.
Thank you for your contribution. We have recently added a Travis Build to the SDK and we do have tests so I encourage you to to create pull requests and ensure nobody else suffers ;-)
I do endeavour to try and fix these issues but I'm not always the best person as my Python is not very strong.
I'll take a look and run some tests locally. Thank you.
I believe there is a bug in your auth code that raises a value error when encountering a 504 as content type if not set on the 504 response.
mendeley/auth.py in handle_text_response at line 12
rsp.headers['content-type'] == 'text/plain':
Raises a value error. Can you please fix this so the app using the API can choose how to handle the 504 response.We are using version 0.3.2.