调整日志内容
This commit is contained in:
@@ -77,9 +77,9 @@ class PluginInterface(ABC):
|
||||
if os.path.exists(config_path):
|
||||
with open(config_path, "r", encoding="utf-8") as f:
|
||||
plugin_config = toml.load(f)
|
||||
self.LOG.info(f"从 {config_path} 加载插件{self.name}配置:{plugin_config}")
|
||||
self.LOG.debug(f"从 {config_path} 加载插件{self.name}配置:{plugin_config}")
|
||||
self._config.update(plugin_config)
|
||||
self.LOG.info(f"从 {config_path} 加载插件配置成功")
|
||||
self.LOG.debug(f"从 {config_path} 加载插件配置成功")
|
||||
return True
|
||||
else:
|
||||
self.LOG.info(f"插件配置文件 {config_path} 不存在,使用默认配置")
|
||||
|
||||
Reference in New Issue
Block a user