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

is this a typo, shouldn't it be msg.type and not msg.tp #2

Open
japrogramer opened this issue Aug 30, 2018 · 1 comment
Open

is this a typo, shouldn't it be msg.type and not msg.tp #2

japrogramer opened this issue Aug 30, 2018 · 1 comment

Comments

@japrogramer
Copy link

https://github.com/steelkiwi/aiohttp_test_chat/blob/master/chat/views.py#L40

I think I found a typo, I believe it needs to be msg.type and not msg.tp
this occurs many times in the file.

@congnghiakhiem
Copy link

congnghiakhiem commented Oct 15, 2018

version = '3.4.4'

D:\test\aiohttp_test_chat>python app.py
Traceback (most recent call last):
File "app.py", line 10, in
from routes import routes
File "D:\test\aiohttp_test_chat\routes.py", line 1, in
from chat.views import ChatList, WebSocket
File "D:\test\aiohttp_test_chat\chat\views.py", line 3, in
from aiohttp import web, MsgType
ImportError: cannot import name 'MsgType' from 'aiohttp' (C:\Python37\lib\site-packages\aiohttp_init_.py)

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

No branches or pull requests

2 participants