python_blockchain_app
python_blockchain_app copied to clipboard
Received a typeerror message JSON as string not as bytes
Hi there,
I love this project... I received a typeerror message on the :5000 instance. This was resolved by replacing
chain = json.loads(response.content)
with
chain = json.loads(response.content.decode('utf-8'))
in the '/app/view.py' file
Thanks for reporting @Stoekadoe
I'll keep in mind to fix this in the next update.