紧急修复一下我写出来的问题,修复同步插件配置文件时配置文件路径错误的问题
This commit is contained in:
committed by
Windpicker-owo
parent
cb999daed2
commit
f5ec532822
@@ -44,7 +44,7 @@ class PluginManager:
|
|||||||
同步单个插件的配置。
|
同步单个插件的配置。
|
||||||
"""
|
"""
|
||||||
central_config_dir = os.path.join("config", "plugins", plugin_name)
|
central_config_dir = os.path.join("config", "plugins", plugin_name)
|
||||||
plugin_config_dir = os.path.join(plugin_dir, "config")
|
plugin_config_dir = os.path.join(plugin_dir)
|
||||||
|
|
||||||
# 确保中央配置目录存在
|
# 确保中央配置目录存在
|
||||||
os.makedirs(central_config_dir, exist_ok=True)
|
os.makedirs(central_config_dir, exist_ok=True)
|
||||||
|
|||||||
Reference in New Issue
Block a user