From bf33ccafcabbbf938f2074aa3dd20a1247c54328 Mon Sep 17 00:00:00 2001 From: Soulter <37870767+Soulter@users.noreply.github.com> Date: Thu, 11 May 2023 22:06:38 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=8F=92=E4=BB=B6?= =?UTF-8?q?=E6=8C=87=E4=BB=A4=E5=88=9B=E5=BB=BA=E6=96=87=E4=BB=B6=E5=A4=B9?= =?UTF-8?q?=E5=87=BA=E9=94=99=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- model/command/command.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/model/command/command.py b/model/command/command.py index 4f0b8dfd1..8d90dba9d 100644 --- a/model/command/command.py +++ b/model/command/command.py @@ -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":