rckclmbr/pyportify

'WebSocketResponse' object has no attribute 'can_start'

Closed this issue · 0 comments

Hi,
While log in through app, I encountered next error in stacktrace
Error handling request Traceback (most recent call last): File "/usr/local/lib/python3.5/dist-packages/aiohttp/web_protocol.py", line 421, in start resp = yield from self._request_handler(request) File "/usr/local/lib/python3.5/dist-packages/aiohttp/web.py", line 303, in _handle resp = yield from handler(request) File "/usr/local/lib/python3.5/dist-packages/pyportify/middlwares.py", line 18, in index_handler ret = yield from handler(request) File "/usr/local/lib/python3.5/dist-packages/pyportify/app.py", line 258, in wshandler ok, protocol = resp.can_start(request) AttributeError: 'WebSocketResponse' object has no attribute 'can_start'
Checked aiohttp, they don't have such method in 2.1.0, it was deprecated since 1.3.0.