From 3edf51e0f4507dc636887830532f35a81d5b2a11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=9B=BD=E6=A0=8B?= <9730805+LIDUODONG@user.noreply.gitee.com> Date: Wed, 21 Sep 2022 17:13:19 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 李国栋 <9730805+LIDUODONG@user.noreply.gitee.com> --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index dcc95fb..fd7914f 100644 --- a/main.py +++ b/main.py @@ -181,7 +181,7 @@ def send_message(to_user, access_token, region_name, weather, temp, wind_dir, no if birth_day == 0: birthday_data = "今天{}生日哦,祝{}生日快乐!".format(value["name"], value["name"]) else: - birthday_data = "距离{}的生日还有{}天".format(value["name"], birth_day) + birthday_data = "距离{}还有{}天".format(value["name"], birth_day) # 将生日数据插入data data["data"][key] = {"value": birthday_data, "color": get_color()} headers = { -- Gitee