DEV Community

Discussion on: Building a real-time chatbot server in Python with WebSocket, ChatterBot and Bocadillo

Collapse
 
jm8985 profile image
Jacob

Hi Florimond, the code from the tutorial works perfectly. However when I copied the tutorial from github.com/bocadilloproject/bocadi...

This fixes the error for me:

In providerconf.py, remove "async" from line 29.
In app.py, remove "async" from line 9.

Merci bcp

Collapse
 
florimondmanca profile image
Florimond Manca

Ah, you’re right! The async keywords in those two lines are artifacts from a previous change. :) I pushed a fix in #231, will merge it later. Thanks for spotting this!