Update main.py

This commit is contained in:
碎念_Nian
2024-02-05 13:45:36 +08:00
committed by GitHub
Unverified
parent cf5688cde1
commit 0444fe8f2c
+1 -1
View File
@@ -113,7 +113,7 @@ for _ in range(run_count):
old_grade_file.truncate()
# 获取成绩信息
grade_data = student_client.get_grade("2024").get("data", {})
grade_data = student_client.get_grade("").get("data", {})
grade = grade_data.get("courses", [])
# 将grade.txt文件中的内容写入old_grade.txt文件内