From 5c7dfe9e888ec8896a0ddea06d80ae5ae6e4c3a6 Mon Sep 17 00:00:00 2001 From: shenjack <3695888@qq.com> Date: Thu, 25 Jan 2024 22:12:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=86=E4=B8=80=E4=B8=8B?= =?UTF-8?q?=E5=88=A4=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index b3ebd35..08c5ba1 100644 --- a/main.py +++ b/main.py @@ -209,7 +209,7 @@ async def add_message(data: Dict[str, Any]): async with session.get( "https://bd.bangbang93.com/openbmclapi/metric/dashboard" ) as response: - if not response.status == "200": + if not response.status == 200 or response.reason != "OK": await sio.emit( "sendMessage", reply_msg.to_content(