This commit is contained in:
yumoqing 2024-04-28 12:07:14 +08:00
parent 6c5907663e
commit dd854ad448

View File

@ -143,8 +143,9 @@ class WebsocketProcessor(PythonScriptProcessor):
params_kw = lenv.params_kw params_kw = lenv.params_kw
userid = lenv.params_kw.userid or await lenv.get_user() userid = lenv.params_kw.userid or await lenv.get_user()
print(f'{params_kw=}, {userid=} ============') print(f'{params_kw=}, {userid=} ============')
print(f'{request.path=}') print(f'{request.path=}1')
del lenv['request'] del lenv['request']
print(f'{request.path=}1.1')
txt = await self.loadScript(self.real_path) txt = await self.loadScript(self.real_path)
print(f'{request.path=}2') print(f'{request.path=}2')
ws = web.WebSocketResponse() ws = web.WebSocketResponse()