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
zhougaofeng
magic_pdf
Commits
116ce404
Commit
116ce404
authored
Oct 22, 2024
by
zhougaofeng
Browse files
Update common.py
parent
35833d61
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
magic_pdf/tools/common.py
magic_pdf/tools/common.py
+1
-3
No files found.
magic_pdf/tools/common.py
View file @
116ce404
...
@@ -111,9 +111,7 @@ def do_parse(
...
@@ -111,9 +111,7 @@ def do_parse(
md_content
=
pipe
.
pipe_mk_markdown
(
local_image_dir
,
md_content
=
pipe
.
pipe_mk_markdown
(
local_image_dir
,
drop_mode
=
DropMode
.
NONE
,
drop_mode
=
DropMode
.
NONE
,
md_make_mode
=
f_make_md_mode
)
md_make_mode
=
f_make_md_mode
)
logger
.
info
(
f
'-'
*
100
)
logger
.
info
(
f
'md_content:
\n
{
md_content
}
'
)
logger
.
info
(
f
'-'
*
100
)
try
:
try
:
md_writer
.
write
(
md_writer
.
write
(
content
=
md_content
,
content
=
md_content
,
...
...
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