grade ignore empty term
This commit is contained in:
parent
a1780a1756
commit
7f132dcbd9
@ -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 = []
|
||||
|
Loading…
x
Reference in New Issue
Block a user