28260a00 by 周伟奇

fix bug

1 parent 50f13b7e
...@@ -223,7 +223,7 @@ class Command(BaseCommand, LoggerMixin): ...@@ -223,7 +223,7 @@ class Command(BaseCommand, LoggerMixin):
223 dda_ocr_result[consts.DDA_PRO] = pro 223 dda_ocr_result[consts.DDA_PRO] = pro
224 license_summary.setdefault(classify, []).append(dda_ocr_result) 224 license_summary.setdefault(classify, []).append(dda_ocr_result)
225 elif classify == consts.HMH_CLASSIFY: # 抵押登记豁免函 225 elif classify == consts.HMH_CLASSIFY: # 抵押登记豁免函
226 hmh_ocr_result = {key: value.get('words', '') for key, value in license_data.get('result', {}).items()} 226 hmh_ocr_result = {key: value.get('words', '') for key, value in license_data.items()}
227 license_summary.setdefault(classify, []).append(hmh_ocr_result) 227 license_summary.setdefault(classify, []).append(hmh_ocr_result)
228 elif classify == consts.JYPZ_CLASSIFY: # 二手车交易凭证 228 elif classify == consts.JYPZ_CLASSIFY: # 二手车交易凭证
229 jypz_ocr_result = {key: value.get('words', '') for key, value in license_data.get('result', {}).items()} 229 jypz_ocr_result = {key: value.get('words', '') for key, value in license_data.get('result', {}).items()}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!