Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
赵增煜
/
ImageAiParser
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
8d3dfa82
authored
Aug 15, 2024
by
赵增煜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修复
parent
691eca80
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
applications/view/system/parser.py
+1
-1
No files found.
applications/view/system/parser.py
View file @
8d3dfa82
...
@@ -49,7 +49,7 @@ def detail(id):
...
@@ -49,7 +49,7 @@ def detail(id):
if
path_parts
[
0
]
.
endswith
(
':'
)
and
not
path_parts
[
0
]
.
endswith
(
os
.
sep
):
if
path_parts
[
0
]
.
endswith
(
':'
)
and
not
path_parts
[
0
]
.
endswith
(
os
.
sep
):
path_parts
[
0
]
+=
os
.
sep
path_parts
[
0
]
+=
os
.
sep
data
.
file_path
=
os
.
path
.
join
(
*
path_parts
)
data
.
file_path
=
os
.
path
.
join
(
*
path_parts
)
with
open
(
'./tmp/pdf/4.pdf'
,
'rb'
)
as
file
:
with
open
(
data
.
file_path
,
'rb'
)
as
file
:
pdf_data
=
file
.
read
()
pdf_data
=
file
.
read
()
# 将二进制数据编码为Base64字符串
# 将二进制数据编码为Base64字符串
...
...
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