新增报表
This commit is contained in:
parent
0b12fcedbf
commit
abaf52ae9d
@ -141,7 +141,11 @@ def chkData(data):
|
||||
education = res1['education']
|
||||
res1['education'] = education_dict[education]
|
||||
if 'teacher_txt' in res1:
|
||||
teacher_txt = json.loads(res1['teacher_txt'])
|
||||
teacher_txt = res1['teacher_txt']
|
||||
if not teacher_txt:
|
||||
teacher_txt = teacher_txt
|
||||
else:
|
||||
teacher_txt = json.loads(teacher_txt)
|
||||
res1['teacher_txt'] = teacher_txt
|
||||
res_data.append(res1)
|
||||
return res_data
|
||||
|
Loading…
Reference in New Issue
Block a user