Commit 5f313bd0 authored by 赵小蒙's avatar 赵小蒙
Browse files

fix local write pdf file name bug

parent 3b7342b8
......@@ -119,7 +119,7 @@ def _do_parse(pdf_file_name, pdf_bytes, model_list, parse_method, image_writer,
'''写源pdf'''
md_writer.write(
content=pdf_bytes,
path=f"{pdf_file_name}_origin.json",
path=f"{pdf_file_name}_origin.pdf",
mode=AbsReaderWriter.MODE_BIN,
)
content_list = pipe.pipe_mk_uni_format(image_dir, drop_mode=DropMode.NONE)
......
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