2-25 각주 채점기준변경
This commit is contained in:
2
test.py
2
test.py
@@ -65,6 +65,7 @@ def convert_hwp_to_xml(input_folder, output_folder):
|
||||
# HWP 파일 검색 및 변환
|
||||
input_path = Path(input_folder)
|
||||
|
||||
# for hwp_file in input_path.glob("DIW_2503B.hwpx"):
|
||||
for hwp_file in chain(input_path.glob("*.hwp"), input_path.glob("*.hwpx")):
|
||||
try:
|
||||
# 파일 열기
|
||||
@@ -152,4 +153,3 @@ if __name__ == "__main__":
|
||||
time.sleep(0.5)
|
||||
except Exception as e:
|
||||
logging.error(f"폴더 변환 중 오류 발생: {input} -> {output}, 오류: {e}")
|
||||
|
||||
Reference in New Issue
Block a user