From 61e2cc76fd41be49619571bb0c2048045ff35401 Mon Sep 17 00:00:00 2001 From: tursom Date: Sat, 12 Oct 2024 11:06:43 +0800 Subject: [PATCH] update --- live_status_ntf.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/live_status_ntf.py b/live_status_ntf.py index b40a564..9e36a97 100644 --- a/live_status_ntf.py +++ b/live_status_ntf.py @@ -124,13 +124,11 @@ class MyHandler(FileSystemEventHandler): room.state_changed = False if room.state == 1: - msg = f"{ - room.db_room.liver_name} 开锅了!\nhttps://live.bilibili.com/{room.room_id}" + msg = f"{room.db_room.liver_name} 开锅了!\nhttps://live.bilibili.com/{room.room_id}" requests.post("http://turntf:18846/notify", json={"msg": msg}) elif room.state == 2: - msg = f"{ - room.db_room.liver_name} 下锅了!\nhttps://live.bilibili.com/{room.room_id}" + msg = f"{room.db_room.liver_name} 下锅了!\nhttps://live.bilibili.com/{room.room_id}" requests.post("http://turntf:18846/notify", json={"msg": msg})