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: use response.text to get string rather than bytes #3156

Merged
merged 2 commits into from
Aug 14, 2023

Conversation

mndeveci
Copy link
Contributor

@mndeveci mndeveci commented Jul 7, 2023

Fixes; #3151

response.content returns bytes which eventually fails at line 34 when searching for image not found error message.

This change fixes it by using response.text which returns string rather than bytes.

Copy link
Contributor

@milas milas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for the fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants