Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
周伟奇
/
bmw-ocr
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
620e65e2
authored
2023-01-04 15:26:32 +0800
by
冯轩
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
FIX:加'关注'的判断条件
1 parent
23dffcc7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/apps/doc/ocr/wb.py
src/apps/doc/ocr/wb.py
View file @
620e65e
...
...
@@ -336,7 +336,7 @@ class BSWorkbook(Workbook):
metadata_dict
=
json
.
loads
(
metadata
)
author
=
metadata_dict
.
pop
(
'author'
,
''
)
producer
=
metadata_dict
.
pop
(
'producer'
,
''
)
if
author
!=
''
or
'iText'
not
in
producer
or
'Qt'
not
in
producer
or
'Haru Free'
not
in
producer
:
if
author
!=
''
or
(
'iText'
not
in
producer
and
'Qt'
not
in
producer
and
'Haru Free'
not
in
producer
)
:
self
.
need_follow
=
True
metadata_rows
.
append
((
'Author'
,
author
))
metadata_rows
.
append
((
'Producer'
,
producer
))
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment