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

Do not .decode a str in PY3, only in PY2 #4545

Merged

Conversation

dherbst
Copy link
Contributor

@dherbst dherbst commented Feb 5, 2021

Contributes toward resolving #4542

hotfix to only .decode in PY2.

Technical

Only necessary to .decode in PY2.

Testing

I think you have to hit the add_field function.

Screenshot

N/A

Stakeholders

@cdrini @cclauss

@cclauss
Copy link
Collaborator

cclauss commented Feb 5, 2021

See #4387

@mekarpeles
Copy link
Member

Spoke w/ @cclauss, seems safe to land -- updated the original comment to say "contributes towards resolving" rather than "closes" as 2 other issues have been identified which also need to be resolved before the underlying issue gets closed -- mentioned in #4542

@cclauss cclauss merged commit bd7d07a into internetarchive:master Feb 8, 2021
Sabreen-Parveen pushed a commit to Sabreen-Parveen/openlibrary that referenced this pull request Feb 15, 2021
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.

None yet

3 participants