Commit c2e54172 authored by zhougaofeng's avatar zhougaofeng
Browse files

Update common.py

parent bd375291
...@@ -128,6 +128,10 @@ def do_parse( ...@@ -128,6 +128,10 @@ def do_parse(
path=txt_file, path=txt_file,
mode=AbsReaderWriter.MODE_TXT, mode=AbsReaderWriter.MODE_TXT,
) )
md_writer.write(
f'{pdf_file_name}.md',
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}')
remove_empty_lines_from_file(filepath) remove_empty_lines_from_file(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