a1c7bfd2 by 周伟奇

fix bug

1 parent c8aa6329
...@@ -317,8 +317,9 @@ class BSWorkbook(Workbook): ...@@ -317,8 +317,9 @@ class BSWorkbook(Workbook):
317 if isinstance(row_value[1], str): 317 if isinstance(row_value[1], str):
318 cn_chars = re.findall(consts.CN_RE, row_value[1]) 318 cn_chars = re.findall(consts.CN_RE, row_value[1])
319 cn_str = ''.join(cn_chars) 319 cn_str = ''.join(cn_chars)
320 row_value[2] = cn_str + row_value[2]
321 row_value[1] = re.sub(consts.CN_RE, '', row_value[1]) 320 row_value[1] = re.sub(consts.CN_RE, '', row_value[1])
321 if isinstance(row_value[2], str):
322 row_value[2] = cn_str + row_value[2]
322 return row_value 323 return row_value
323 324
324 def build_month_sheet(self, ms, card, month_mapping, is_reverse, statistics_header_info, max_column, classify): 325 def build_month_sheet(self, ms, card, month_mapping, is_reverse, statistics_header_info, max_column, classify):
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!