d3v-null / wp-api-python

A Python wrapper for the WooCommerce API.
MIT License
141 stars 34 forks source link

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

Open mortoray opened 1 year ago

mortoray commented 1 year ago

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.

tete2soja commented 1 year ago

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 commented 1 year ago

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