0f197a8b by 周伟奇

fix bug

1 parent fbc5ffab
......@@ -506,6 +506,8 @@ class BSWorkbook(Workbook):
if classify == consts.SPECIAL_ZSYH_CLASSIFY and is_first_row: # 招商银行2行表头
find_count = 0
for tmp_idx, value_str in enumerate(row_value):
if not isinstance(value_str, str):
continue
if tmp_idx >= len(consts.EN_HEADER_LIST):
continue
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!