From 5363bd6878a74ab100ab4ded6cc40f9dded8b276 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=91=B5=E5=91=B5=E3=81=A7=E3=81=99?= <51957264+shoucandanghehe@users.noreply.github.com> Date: Thu, 22 Aug 2024 00:09:58 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=8A=20=E4=BF=AE=E6=94=B9log=E7=94=A8?= =?UTF-8?q?=E8=AF=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Ju4tCode <42488585+yanyongyu@users.noreply.github.com> --- nonebot/drivers/websockets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nonebot/drivers/websockets.py b/nonebot/drivers/websockets.py index 3bd531274246..4790f22decee 100644 --- a/nonebot/drivers/websockets.py +++ b/nonebot/drivers/websockets.py @@ -70,7 +70,7 @@ def type(self) -> str: @asynccontextmanager async def websocket(self, setup: Request) -> AsyncGenerator["WebSocket", None]: if setup.proxy is not None: - logger.warning("proxy is not supported with websockets driver") + logger.warning("proxy is not supported by websockets driver") connection = Connect( str(setup.url), extra_headers={**setup.headers, **setup.cookies.as_header(setup)},