59f58c93 by 周伟奇

fix wholesales contract

1 parent 5c08056d
......@@ -302,13 +302,13 @@ class Finder:
term_end_chn = words
lines = self.get_line(self.ocr_results[pno], 'above')
searchObj = re.search(r'aboveto([0-9]+)', lines)
searchObj = re.search(r'aboveto([0-9]+)', lines.replace('O', '0'))
if searchObj:
words = searchObj.group(1)
deposit_eng = f'{words}%'
lines = self.get_line(self.ocr_results[pno], '授信额度的')
searchObj = re.search(r'授信额度的([0-9]+)', lines)
searchObj = re.search(r'授信额度的([0-9]+)', lines.replace('O', '0'))
if searchObj:
words = searchObj.group(1)
deposit_chn = f'{words}%'
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!