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"])