From 6482d21242ad09ce111b361caf7bbce9781a9b19 Mon Sep 17 00:00:00 2001 From: timxx <3337598077@qq.com> Date: Wed, 7 Oct 2026 20:49:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20YYB/YYB=5FHSY.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- YYB/YYB_HSY.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/YYB/YYB_HSY.py b/YYB/YYB_HSY.py index 91be740..d7ca3c8 100644 --- a/YYB/YYB_HSY.py +++ b/YYB/YYB_HSY.py @@ -283,7 +283,12 @@ def notify(lines): sys.path.insert(0, path) try: from notify import send - send("回收猿签到提现", "\n".join(lines)) + # 兼容字符串与列表:字符串直接发送,列表按行拼接(禁止对字符串做逐字 join) + if isinstance(lines, (list, tuple)): + content = "\n".join(lines) + else: + content = lines + send("回收猿签到提现", content) except Exception as exc: print(f"[通知] 发送失败(不影响任务):{exc}")