"...git@developer.sourcefind.cn:chenpangpang/open-webui.git" did not exist on "bbeaa929041d46c59694798899a13ace46039cd2"
Commit b47fb4cb authored by zhougaofeng's avatar zhougaofeng
Browse files

Update common.py

parent c2e54172
...@@ -129,8 +129,8 @@ def do_parse( ...@@ -129,8 +129,8 @@ def do_parse(
mode=AbsReaderWriter.MODE_TXT, mode=AbsReaderWriter.MODE_TXT,
) )
md_writer.write( md_writer.write(
f'{pdf_file_name}.md', path=f'{pdf_file_name}.md',
md_content content=md_content
) )
filepath = os.path.join(str(local_md_dir), f'{pdf_file_name}.txt') filepath = os.path.join(str(local_md_dir), f'{pdf_file_name}.txt')
# logger.info(f'txt文件保存在filepath:{filepath}') # logger.info(f'txt文件保存在filepath:{filepath}')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment