Skip to content

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.

Signed-off-by: Mehmet Nuri Deveci <5735811+mndeveci@users.noreply.github.com>
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