fix bug
Showing
1 changed file
with
2 additions
and
1 deletions
... | @@ -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): | ... | ... |
-
Please register or sign in to post a comment