From 6247661e144b4dc50522a9c50d6742777be722ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=80=C3=AE=C3=97=C3=9A=C3=95=C3=B1?= Date: Mon, 24 Oct 2022 15:52:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=B9=E9=87=8F=E5=AF=BC=E5=85=A5=E7=AE=80?= =?UTF-8?q?=E5=8E=86=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/api_v1/endpoints/interview.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/api_v1/endpoints/interview.py b/api/api_v1/endpoints/interview.py index 8193d14..b891d75 100644 --- a/api/api_v1/endpoints/interview.py +++ b/api/api_v1/endpoints/interview.py @@ -977,7 +977,7 @@ async def files_to_hw( break if not user_chk_name: user_chk_name = file.split('.')[0] - files_other = [i for i in file_list if user_chk_name in i.split('.')[0] and i != file.split('.')[0]] + files_other = [i for i in file_list if user_chk_name in i and i.split('.')[0] != file.split('.')[0]] # 存在相关附件 if files_other: resume_affix_id = []