8c434fbc by 冯轩

FIX

1 parent 3c45854a
......@@ -3718,10 +3718,14 @@ def fsm_compare_thread(application_id, application_entity, uniq_seq, ocr_res_id,
# 实时查询延迟时间
delay_time_config = Configs.objects.filter(id=4).first()
if delay_time_config is None or delay_time is None or not delay_time.isdigit():
if delay_time_config is not None and delay_time_config.value
if delay_time_config is None:
delay_time = 0
else:
delay_time = delay_time_config.value
if delay_time is None or not delay_time.isdigit():
delay_time = 0
else:
compare_log.info('delay_time:{0}'.format(delay_time))
# 查看此订单号下是否有未完成的文件,如果有,等1分钟
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!