Skip to content

Commit 6e4079a

Browse files
maxDzhmiguelgrinberg
authored andcommitted
Update sanic version in requirements.txt (miguelgrinberg#255)
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.
1 parent d28eff7 commit 6e4079a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/server/sanic/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ aiofiles==0.3.0
22
httptools==0.0.9
33
python_engineio
44
python_socketio
5-
sanic==0.3.1
5+
sanic==0.8
66
six==1.10.0
77
ujson==1.35
88
uvloop==0.8.0

0 commit comments

Comments
 (0)