fix: 修复插件指令创建文件夹出错的问题
This commit is contained in:
@@ -59,9 +59,9 @@ class Command:
|
||||
else:
|
||||
ppath = ""
|
||||
if os.path.exists("addons/plugins"):
|
||||
ppath = putil.get_modules("addons/plugins")
|
||||
ppath = "addons/plugins"
|
||||
elif os.path.exists("QQChannelChatGPT/addons/plugins"):
|
||||
ppath = putil.get_modules("QQChannelChatGPT/addons/plugins")
|
||||
ppath = "QQChannelChatGPT/addons/plugins"
|
||||
else:
|
||||
return False, "未找到插件目录", "plugin"
|
||||
if l[1] == "i":
|
||||
|
||||
Reference in New Issue
Block a user