This commit is contained in:
yumoqing 2024-09-27 18:15:50 +08:00
parent 6692ee8ed2
commit 41ed4a811d

View File

@ -177,6 +177,7 @@ class WebsocketProcessor(PythonScriptProcessor):
if msg.type == aiohttp.WSMsgType.TEXT:
if msg.data == 'exit':
break
debug(f'WS:msg from client={msg}')
lenv['ws_data'] = msg.data
lenv['ws_pool'] = ws_pool
exec(txt,lenv,lenv)