fix bug
Showing
1 changed file
with
2 additions
and
2 deletions
| ... | @@ -189,8 +189,8 @@ class Comparison: | ... | @@ -189,8 +189,8 @@ class Comparison: |
| 189 | for idx in range(len(src_str)): | 189 | for idx in range(len(src_str)): |
| 190 | if src_str[idx].isdigit(): | 190 | if src_str[idx].isdigit(): |
| 191 | replace_char_list.append(src_str[idx]) | 191 | replace_char_list.append(src_str[idx]) |
| 192 | elif idx == len(src_str)-3 and src_str[idx] == '.': | 192 | elif idx == len(src_str)-3: |
| 193 | replace_char_list.append(src_str[idx]) | 193 | replace_char_list.append('.') |
| 194 | return ''.join(replace_char_list) | 194 | return ''.join(replace_char_list) |
| 195 | 195 | ||
| 196 | def se_schedule_compare(self, input_str, ocr_str_or_list, **kwargs): | 196 | def se_schedule_compare(self, input_str, ocr_str_or_list, **kwargs): | ... | ... |
-
Please register or sign in to post a comment