From d19efed9b021357923a768f311c6548ed358f5e7 Mon Sep 17 00:00:00 2001 From: NianBroken Date: Wed, 7 Feb 2024 02:35:50 +0800 Subject: [PATCH] Added the ability to display "Courses with unpublished scores" and "abnormal courses" --- main.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index f960320..aa72562 100644 --- a/main.py +++ b/main.py @@ -344,7 +344,11 @@ else: # 对grade.txt和old_grade.txt两个文件的内容进行比对,输出成绩是否更新 if grade_content != old_grade_content or force_push_message: - print("成绩已更新") + # 判断是否选中了强制推送信息 + if force_push_message: + print("强制推送") + else: + print("成绩已更新") # 推送信息 response_text = send_message(