From 1f8797987d0f7bee0d7cd117c319fbd5e5af2b1a Mon Sep 17 00:00:00 2001 From: woni <320753691@qq.com> Date: Thu, 13 Feb 2025 17:42:19 +0800 Subject: [PATCH] first commit --- contact-xbot.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/contact-xbot.py b/contact-xbot.py index b006d9a..69b7932 100644 --- a/contact-xbot.py +++ b/contact-xbot.py @@ -224,8 +224,9 @@ def main(): CONFIG.get("newDutyUuid"), ) # break - - feishu_notify("\n".join(messages)) + messages = "\n".join(messages) + if messages.strip(): + feishu_notify() except requests.RequestException as e: print(f"请求发生错误: {e}")