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
b47fb4cb
"vscode:/vscode.git/clone" did not exist on "2fd46405cd4e845e65b102acc8849667ab508790"
Commit
b47fb4cb
authored
Dec 16, 2024
by
zhougaofeng
Browse files
Update common.py
parent
c2e54172
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
magic_pdf/tools/common.py
magic_pdf/tools/common.py
+2
-2
No files found.
magic_pdf/tools/common.py
View file @
b47fb4cb
...
@@ -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}')
...
...
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