main
HuangHai 2 days ago
parent 35ccdedc37
commit fc1c76bf5d

@ -46,7 +46,8 @@ async def main():
file_path = os.path.join(docx_file, filename)
# 获取docx文件的内容
if filename.endswith(".docx"):
content = get_docx_content_by_pandoc(file_path)
continue
#content = get_docx_content_by_pandoc(file_path)
elif filename.endswith(".txt"):
with open(file_path, "r", encoding="utf-8") as f:
content = f.read()

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save