Commit 45c1c48e authored by xiao-hesheng's avatar xiao-hesheng
Browse files

脚本优化

parent f4a646b8
......@@ -767,7 +767,7 @@ def check_accept_order(type=1):
data = commonFuc().analysis_json('data', result)
code = commonFuc().analysis_json('code', result)
print(code)
if code == 0 and data == 1:
if code == 0 and len(data) >= 1:
break
else:
print('设置产品合格出现问题')
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment