Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix get images with api error #388

Merged

Conversation

lad1337
Copy link
Contributor

@lad1337 lad1337 commented May 6, 2012

this fixes an issue where some images would not get returned this is due cherrypy throws a HTTPRedirect exception in some cases

you could fix this by adding &debug=1 to the request url because the exception would be handled by cherrypy itself and not by our catch block

this fix anticipates the HTTPRedirect exception and does not "kill" the output of the image

midgetspy added a commit that referenced this pull request May 6, 2012
@midgetspy midgetspy merged commit ccf90ae into midgetspy:development May 6, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants