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

json.load no longer accepts an 'encoding' #17

Open
mortoray opened this issue Jan 8, 2023 · 2 comments
Open

json.load no longer accepts an 'encoding' #17

mortoray opened this issue Jan 8, 2023 · 2 comments

Comments

@mortoray
Copy link

mortoray commented Jan 8, 2023

Loading of credentials no longer works due to this line:

creds = json.load(creds_store_file, encoding='utf-8')

Because json.load does not accept an "encoding" parameter anymore, just assuming it'll be utf encoded.

@nioupola
Copy link

Hello, I needed for a project so I fixed and create a fork if you need it: https://github.com/Synoptik-Labs/wp-api-python. I may fix some others issues too.

@d3v-null
Copy link
Owner

Thanks @tete2soja , Ive linked to your repo in the readme.

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

No branches or pull requests

3 participants