From 490952614eaa38ffeaaf623f735f04446e29c1dd Mon Sep 17 00:00:00 2001 From: NianBroken Date: Sun, 4 Feb 2024 04:10:26 +0800 Subject: [PATCH] Added the ability to determine if the score is empty --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 5b4ffa0..44710a8 100644 --- a/main.py +++ b/main.py @@ -111,7 +111,7 @@ else: # 第一次运行程序则运行两遍,否则运行一遍 for _ in range(run_count): # 获取成绩信息 - grade_data = student_client.get_grade("2024").get("data", {}) + grade_data = student_client.get_grade("").get("data", {}) grade = grade_data.get("courses", []) if not grade: