From 82654a12d45a2c5f39e6a0c9207acc348da6b016 Mon Sep 17 00:00:00 2001 From: A0000Xz <122650088+A0000Xz@users.noreply.github.com> Date: Thu, 17 Jul 2025 20:16:02 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=82=E9=85=8D=E6=97=A0=E5=85=B4=E8=B6=A3?= =?UTF-8?q?=E5=BA=A6=E6=B6=88=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/chat/willing/willing_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chat/willing/willing_manager.py b/src/chat/willing/willing_manager.py index 6c53273f5..31ea49399 100644 --- a/src/chat/willing/willing_manager.py +++ b/src/chat/willing/willing_manager.py @@ -104,7 +104,7 @@ class BaseWillingManager(ABC): is_mentioned_bot=message.get("is_mentioned", False), is_emoji=message.get("is_emoji", False), is_picid=message.get("is_picid", False), - interested_rate=message.get("interest_value", 0), + interested_rate = message.get("interest_value") or 0.0, ) def delete(self, message_id: str):