This commit is contained in:
2025-08-28 07:32:04 +08:00
parent 67adcf5e79
commit 31ab2d4127
10 changed files with 76 additions and 9 deletions

View File

@@ -46,8 +46,8 @@ async def main():
file_path = os.path.join(docx_file, filename)
# 获取docx文件的内容
if filename.endswith(".docx"):
continue
# 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()