'commit'
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user