bugfix
This commit is contained in:
parent
ae6f811d31
commit
6c5907663e
@ -146,11 +146,13 @@ class WebsocketProcessor(PythonScriptProcessor):
|
||||
print(f'{request.path=}')
|
||||
del lenv['request']
|
||||
txt = await self.loadScript(self.real_path)
|
||||
print(f'{request.path=}2')
|
||||
ws = web.WebSocketResponse()
|
||||
print(f'{request.path=}3')
|
||||
await ws.prepare(request)
|
||||
print(f'{request.path=}4')
|
||||
ws_pool = WsPool(ws, request.path, request.app)
|
||||
# await self.ws_send(ws, 'Welcome to websock')
|
||||
print(f'{request.path=}')
|
||||
print(f'{request.path=}5')
|
||||
async for msg in ws:
|
||||
print(f'{msg=}')
|
||||
if msg.type == aiohttp.WSMsgType.TEXT:
|
||||
|
Loading…
Reference in New Issue
Block a user