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
22ddf1a8
"src/git@developer.sourcefind.cn:chenpangpang/open-webui.git" did not exist on "e2edbedede34d3edaad09c52e8d8b8695169585b"
Commit
22ddf1a8
authored
Nov 13, 2024
by
zhougaofeng
Browse files
Update draw_pdf.py
parent
7e4e7ce3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
magic_pdf/rw/draw_pdf.py
magic_pdf/rw/draw_pdf.py
+1
-1
No files found.
magic_pdf/rw/draw_pdf.py
View file @
22ddf1a8
...
@@ -266,7 +266,7 @@ class DrawPDF():
...
@@ -266,7 +266,7 @@ class DrawPDF():
for
signature_info
in
signatures_page_list
:
for
signature_info
in
signatures_page_list
:
image
=
SealExtract
()(
b64
=
signature_info
.
get
(
"SignedValue"
))
image
=
SealExtract
()(
b64
=
signature_info
.
get
(
"SignedValue"
))
if
not
image
:
if
not
image
:
logger
.
info
(
f
"提取不到签章图片"
)
logger
.
info
(
f
"
在该文件中
提取不到签章图片"
)
continue
continue
else
:
else
:
image_pil
=
image
[
0
]
image_pil
=
image
[
0
]
...
...
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