Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
MinerU
Commits
5f313bd0
Commit
5f313bd0
authored
Jun 18, 2024
by
赵小蒙
Browse files
fix local write pdf file name bug
parent
3b7342b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
magic_pdf/cli/magicpdf.py
magic_pdf/cli/magicpdf.py
+1
-1
No files found.
magic_pdf/cli/magicpdf.py
View file @
5f313bd0
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment