f5fde5ee by 周伟奇

fix bug

1 parent b936ca78
......@@ -823,11 +823,12 @@ class Command(BaseCommand, LoggerMixin):
self.cronjob_log.info('{0} [process complete] [task={1}]'.format(self.log_base, task_str))
os.remove(excel_path)
finally:
pass
# TODO 识别结果存一张表,方便跑报表
# 更新OCR累计识别结果表
# 触发比对
compare.apply_async((doc.application_id, business_type, None, ocr_res_id), queue='queue_compare')
# compare.apply_async((doc.application_id, business_type, None, ocr_res_id), queue='queue_compare')
finally:
try:
img_save_path = os.path.join(doc_data_path, 'img')
......
[loggers]
; online --> 线上OCR日志:ocr_process.py
; folder --> 线下OCR日志:folder_ocr_process.py
; bs --> 线上流水识别结果日志,用于生成每日申请号-版式报表:bs_statistics.py
; license --> 线上证件识别结果日志,用于偶尔生成结果报表:license_statistics.py
; idcard --> 线上身份证识别结果日志,用于生成每日、每月身份证报表:idcard_daily.pyidcard_monthly.py
; compare --> celery compare日志
keys=root, running, exception, online, folder, bs, license, idcard, compare, django.db.backends
[handlers]
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!