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

Received a typeerror message JSON as string not as bytes #40

Open
Stoekadoe opened this issue May 10, 2020 · 1 comment
Open

Received a typeerror message JSON as string not as bytes #40

Stoekadoe opened this issue May 10, 2020 · 1 comment
Labels
bug Something isn't working easy-fix hacktoberfest

Comments

@Stoekadoe
Copy link

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

@satwikkansal satwikkansal added the bug Something isn't working label May 15, 2020
@satwikkansal
Copy link
Owner

Thanks for reporting @Stoekadoe

I'll keep in mind to fix this in the next update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working easy-fix hacktoberfest
Projects
None yet
Development

No branches or pull requests

2 participants