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 = []