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
8c324ae7
authored
2021-09-08 16:11:47 +0800
by
周伟奇
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'feature/contract' into feature/0611
2 parents
5fbb652c
66e2f986
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/apps/doc/ocr/wb.py
src/apps/doc/ocr/wb.py
View file @
8c324ae
...
...
@@ -706,8 +706,8 @@ class BSWorkbook(Workbook):
if
len
(
contract_result
)
==
0
:
return
ws
=
self
.
create_sheet
(
consts
.
CONTRACT_SHEET_NAME
)
for
page_num
,
info_list
in
contract_result
:
ws
.
append
(
'page {0}'
.
format
(
page_num
))
for
page_num
,
info_list
in
contract_result
.
items
()
:
ws
.
append
(
(
'page {0}'
.
format
(
page_num
),
))
for
info
in
info_list
:
for
row
in
info
:
ws
.
append
(
row
)
...
...
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