From d649bce2bdfd3353167060280dc084bed6948402 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E4=BC=9F?= <250213850@qq.com> Date: Tue, 13 Sep 2022 19:25:06 +0800 Subject: [PATCH] =?UTF-8?q?1.=E5=AD=A6=E5=8E=86=E8=BF=94=E5=9B=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/api_v1/endpoints/interview.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/api_v1/endpoints/interview.py b/api/api_v1/endpoints/interview.py index ec51875..a150749 100644 --- a/api/api_v1/endpoints/interview.py +++ b/api/api_v1/endpoints/interview.py @@ -135,8 +135,8 @@ def chkData(data): else: remembrance = [] res1['remembrance'] = remembrance - if 'education' in i: - education=i['education'] + if 'education' in res1: + education=res1['education'] res1['education'] = education_dict[education] res_data.append(res1) return res_data