곰픽(dpi) 채점 결과 업데이트
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user