0cac300c by 周伟奇

fix bug

1 parent 01314b0c
......@@ -2413,6 +2413,7 @@ def se_compare_license_id(license_en, id_res_list, field_list):
if is_find:
break
result_field_list.clear()
for idx, (name, value) in enumerate(field_list):
# if ocr_field == consts.MVI_OCR_FIELD and name == consts.SE_NEW_ADD_FIELD[9]:
# ocr_str = getattr(cp, consts.ZW_METHOD)(
......@@ -2492,6 +2493,7 @@ def se_compare_license_id(license_en, id_res_list, field_list):
result_field_list.append((name, value, result, ocr_str, img_path, error_type, compare_logic[name][3]))
if not is_find:
result_field_list.clear()
for name, value in field_list:
if isinstance(value, list):
value = json.dumps(value, ensure_ascii=False)
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!