From ee45d1d3516c5e576ce30b2d02f5bc3d31babea7 Mon Sep 17 00:00:00 2001 From: marques Date: Sat, 20 Dec 2025 13:20:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=96=87=E4=BB=B6=E8=B7=AF?= =?UTF-8?q?=E5=BE=84=E6=A3=80=E6=9F=A5=E9=80=BB=E8=BE=91=EF=BC=8C=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3=E8=B7=AF=E5=BE=84=E5=BC=95=E7=94=A8=E6=96=B9=E5=BC=8F?= =?UTF-8?q?=E4=BB=A5=E7=A1=AE=E4=BF=9D=E6=96=87=E4=BB=B6=E5=AD=98=E5=9C=A8?= =?UTF-8?q?=E6=80=A7=E9=AA=8C=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- func/Module_SA_label_v2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/func/Module_SA_label_v2.py b/func/Module_SA_label_v2.py index 6212817..6f4842e 100644 --- a/func/Module_SA_label_v2.py +++ b/func/Module_SA_label_v2.py @@ -309,7 +309,7 @@ class Data: "Input_SA_Label", "Input_Stage"] for file_key in check_file_list: - if (not self.config["Path"][file_key].is_file()) or (not self.config["Path"][file_key].exists()): + if (not Path(self.config["Path"][file_key]).is_file()) or (not Path(self.config["Path"][file_key]).exists()): return Result().failure(info=Constants.INPUT_FAILURE + "\n" + str(self.config["Path"][file_key]) + file_key + Constants.FAILURE_REASON["Path_Not_Exist"])