곰픽(dpi) 채점 결과 업데이트

This commit is contained in:
2025-05-07 16:58:03 +09:00
parent 38a323c0b0
commit 5ee5330e13
9 changed files with 16 additions and 12 deletions

View File

@@ -5,7 +5,7 @@ import unicodedata
def copy_dic_subdirs(source_root, target_root_a, target_root_b, target_root_c, target_root_d, target_root_e):
for root, dirs, files in os.walk(source_root):
for dir_name in dirs:
if dir_name.lower() == 'dic': # DIC 디렉토리 탐색
if dir_name.lower() == 'dic' or dir_name.lower() == 'dpi': # DIC 디렉토리 탐색
parent_dir = os.path.basename(os.path.dirname(os.path.join(root, dir_name)))
target_root = None
parent_dir = unicodedata.normalize('NFC', parent_dir)