修改了一下判定

This commit is contained in:
shenjack 2024-01-25 22:12:44 +08:00
parent 386ee4413a
commit 5c7dfe9e88
Signed by: shenjack
GPG Key ID: 7B1134A979775551

View File

@ -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(