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
c8a6639d
authored
2020-12-08 14:25:52 +0800
by
周伟奇
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix bug
1 parent
c57fc944
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 @
c8a6639
...
...
@@ -614,7 +614,7 @@ class BSWorkbook(Workbook):
price_total_str
=
license_dict
.
get
(
'价税合计小写'
)
if
rate_str
is
not
None
and
price_total_str
is
not
None
:
try
:
rate
=
int
(
rate_str
)
rate
=
int
(
rate_str
.
rstrip
(
'
%
'
)
)
price_total
=
float
(
price_total_str
)
except
Exception
as
e
:
pass
...
...
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