Commit 6e4079a
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
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
0 commit comments