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
d68ab924
authored
2024-12-11 18:07:32 +0800
by
chenyao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
更新如果有没找到的对应的key,则直接设置为空
1 parent
378c0824
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
src/apps/doc/ocr/wb.py
src/apps/doc/ocr/wb.py
View file @
d68ab92
...
...
@@ -897,6 +897,9 @@ class BSWorkbook(Workbook):
if
dp_key
in
english_chinese_dict
.
keys
():
row
=
[
english_chinese_dict
[
dp_key
],
str
(
dp_value
)]
ws
.
append
(
row
)
else
:
row
=
[
english_chinese_dict
[
dp_key
],
""
]
ws
.
append
(
row
)
@staticmethod
def
remove_yuan
(
amount_key_set
,
key
,
src_str
):
...
...
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