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
c4a026fc
authored
2023-08-09 11:22:56 +0800
by
冯轩
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
MOD:verify_list重复添加元素的问题
1 parent
2402ee8e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
src/celery_compare/tasks.py
src/celery_compare/tasks.py
View file @
c4a026f
...
...
@@ -2037,11 +2037,12 @@ def se_bs_compare(license_en, ocr_res_dict, strip_list, is_auto, aa_type):
pre_tmp_res_part
=
{}
verify_bool
=
ocr_res
.
get
(
'verify'
,
False
)
e_bank
=
ocr_res
.
get
(
'e_bank'
,
False
)
verify_list
.
append
(
verify_bool
)
#
verify_list.append(verify_bool)
if
not
verify_bool
:
verify_false_idx_list
.
append
(
str
(
tmp_idx
+
1
))
if
e_bank
:
auto_elec_verify_list
.
append
(
verify_bool
)
verify_list
.
append
(
verify_bool
)
if
not
verify_bool
:
auto_elec_verify_false_idx_list
.
append
(
str
(
tmp_idx
+
1
))
else
:
...
...
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