28260a00 by 周伟奇

fix bug

1 parent 50f13b7e
......@@ -223,7 +223,7 @@ class Command(BaseCommand, LoggerMixin):
dda_ocr_result[consts.DDA_PRO] = pro
license_summary.setdefault(classify, []).append(dda_ocr_result)
elif classify == consts.HMH_CLASSIFY: # 抵押登记豁免函
hmh_ocr_result = {key: value.get('words', '') for key, value in license_data.get('result', {}).items()}
hmh_ocr_result = {key: value.get('words', '') for key, value in license_data.items()}
license_summary.setdefault(classify, []).append(hmh_ocr_result)
elif classify == consts.JYPZ_CLASSIFY: # 二手车交易凭证
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!