Added the ability to calculate GPA, and optimized the relevant code to determine whether to run for the first time.

This commit is contained in:
NianBroken
2024-01-31 15:38:19 +08:00 Unverified
parent 7af37f4ce3
commit b5d7b01ca8
+1 -1
View File
@@ -96,7 +96,7 @@ else:
info_file_content = info_file.read()
# 如果info.txt文件中保存的个人信息与获取到的个人信息不一致,则代表是第一次运行程序
if info_file_content == encrypted_info:
# 非次运行程序
# 非第一次运行程序
run_count = 1
# 第一次运行程序则运行两遍,否则运行一遍