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
597d5d5d
authored
2022-06-13 13:24:12 +0800
by
周伟奇
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix zhifubao date
1 parent
756e96a8
Show 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 @
597d5d5
...
...
@@ -68,7 +68,7 @@ class BSWorkbook(Workbook):
header_col
=
header_dict
.
get
(
header_value
)
if
header_col
is
None
:
for
pattern
in
consts
.
PATTERN_LIST
:
if
re
.
search
(
pattern
,
header_value
):
if
re
.
search
(
pattern
,
header_value
)
and
len
(
header_value
)
-
len
(
pattern
)
<=
5
:
header_col
=
header_dict
.
get
(
pattern
)
break
return
header_col
...
...
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