减少判断逻辑

This commit is contained in:
2024-07-30 10:58:34 +08:00
parent 5054fdd582
commit 29e2342314

View File

@@ -14,8 +14,8 @@ def check_error(error_ocr):
if not img_url:
# 没有自动涂抹的图片
img_url = ufile.get_private_url(error_ocr.cfjaddress, "drg103")
if not img_url:
return None
if not img_url:
return None
name = error_ocr.cXm
id_card_num = error_ocr.cSfzh