Skip to content

Update sanic version in requirements.txt#255

Merged
miguelgrinberg merged 1 commit into
miguelgrinberg:masterfrom
maxDzh:patch-1
Feb 21, 2019
Merged

Update sanic version in requirements.txt#255
miguelgrinberg merged 1 commit into
miguelgrinberg:masterfrom
maxDzh:patch-1

Conversation

@maxDzh

@maxDzh maxDzh commented Feb 21, 2019

Copy link
Copy Markdown
Contributor

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
@app.listener('before_server_start')
AttributeError: 'Sanic' object has no attribute 'listener'

The code starts to work from 0.7 sanic version.

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.
@miguelgrinberg miguelgrinberg merged commit 6e4079a into miguelgrinberg:master Feb 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants