0f197a8b by 周伟奇

fix bug

1 parent fbc5ffab
...@@ -506,6 +506,8 @@ class BSWorkbook(Workbook): ...@@ -506,6 +506,8 @@ class BSWorkbook(Workbook):
506 if classify == consts.SPECIAL_ZSYH_CLASSIFY and is_first_row: # 招商银行2行表头 506 if classify == consts.SPECIAL_ZSYH_CLASSIFY and is_first_row: # 招商银行2行表头
507 find_count = 0 507 find_count = 0
508 for tmp_idx, value_str in enumerate(row_value): 508 for tmp_idx, value_str in enumerate(row_value):
509 if not isinstance(value_str, str):
510 continue
509 if tmp_idx >= len(consts.EN_HEADER_LIST): 511 if tmp_idx >= len(consts.EN_HEADER_LIST):
510 continue 512 continue
511 if value_str.find(consts.EN_HEADER_LIST[tmp_idx]) != -1: 513 if value_str.find(consts.EN_HEADER_LIST[tmp_idx]) != -1:
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!