Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update sanic version in requirements.txt #255

Merged
merged 1 commit into from
Feb 21, 2019

Conversation

maxDzh
Copy link
Contributor

@maxDzh maxDzh commented Feb 21, 2019

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