2dc31fab by 周伟奇

fix bug

1 parent da4982cf
......@@ -189,8 +189,8 @@ class Comparison:
for idx in range(len(src_str)):
if src_str[idx].isdigit():
replace_char_list.append(src_str[idx])
elif idx == len(src_str)-3 and src_str[idx] == '.':
replace_char_list.append(src_str[idx])
elif idx == len(src_str)-3:
replace_char_list.append('.')
return ''.join(replace_char_list)
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!