grade ignore empty term

This commit is contained in:
lijingwei233 2020-02-26 21:22:50 +08:00
parent a1780a1756
commit 7f132dcbd9

View File

@ -137,7 +137,8 @@ def getGrade(Ip, S):
'term_grade': last_term_grade_list
})
#当前学期索引+1
this_term += 1
while item['KSXNXQ'] != total_term[this_term]:
this_term += 1
#初始化所有值
last_term_kill, last_term_dead, last_term_credit = 0, 0, item['XF']
last_term_grade_list = []