Skip to content

Commit

Permalink
Update sanic version in requirements.txt (#255)
Browse files Browse the repository at this point in the history
Sanic example doesn't work because of the server version specified in requirements (0.3.1).

Traceback (most recent call last):
  File "app.py", line 23, in <module>
    @app.listener('before_server_start')
AttributeError: 'Sanic' object has no attribute 'listener'

The code starts to work from 0.7 sanic version.
  • Loading branch information
maxDzh authored and miguelgrinberg committed Feb 21, 2019
1 parent d28eff7 commit 6e4079a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/server/sanic/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ aiofiles==0.3.0
httptools==0.0.9
python_engineio
python_socketio
sanic==0.3.1
sanic==0.8
six==1.10.0
ujson==1.35
uvloop==0.8.0

0 comments on commit 6e4079a

Please sign in to comment.