From 34dd57639c0b1527d169f0a820c49938129b5f79 Mon Sep 17 00:00:00 2001 From: hexin Date: Thu, 2 Mar 2023 14:20:51 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9B=B4=E6=96=B0service=E7=BB=93?= =?UTF-8?q?=E6=9E=9C=E8=A7=A3=E6=9E=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GenReport/pdf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GenReport/pdf.py b/GenReport/pdf.py index 5cecf48..107925f 100755 --- a/GenReport/pdf.py +++ b/GenReport/pdf.py @@ -614,7 +614,7 @@ def make_pdf_service(content): i = 1 for r in json_data: result = json_data[r]["Check result"] - if result == "pass": + if (result == "pass" or result == "PASS"): result = "通过" else: result = "不通过" -- Gitee