From 4713ce2edd1909cd152d8f257d7135f5d1fa95c1 Mon Sep 17 00:00:00 2001 From: zhongning5 Date: Mon, 21 Oct 2024 17:05:15 +0800 Subject: [PATCH] modify log Signed-off-by: zhongning5 --- tools/startup_guard/config_parser_mgr/cfg/config_parser.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/startup_guard/config_parser_mgr/cfg/config_parser.py b/tools/startup_guard/config_parser_mgr/cfg/config_parser.py index 0124c9b..d944eb5 100644 --- a/tools/startup_guard/config_parser_mgr/cfg/config_parser.py +++ b/tools/startup_guard/config_parser_mgr/cfg/config_parser.py @@ -328,7 +328,7 @@ class ConfigParser(): def load_config(self, file_name): path = self._path + file_name if not os.path.exists(path): - print("Error, invalid config file %s" % path) + print("Warning, invalid config file %s" % path) return with open(path, encoding='utf-8') as content: try: @@ -450,7 +450,7 @@ class ConfigParser(): def load_boot_event_file(self, boot_event_file): if not os.path.exists(boot_event_file): - print("Error, invalid config file %s" % boot_event_file) + print("Warning, invalid config file %s" % boot_event_file) return with open(boot_event_file, encoding='utf-8') as content: try: -- Gitee