2dc31fab by 周伟奇

fix bug

1 parent da4982cf
...@@ -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):
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!