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}")