From 1fa11062de36bb679655558fc2456db231489602 Mon Sep 17 00:00:00 2001 From: Soulter <905617992@qq.com> Date: Sat, 21 Sep 2024 12:33:00 -0400 Subject: [PATCH] =?UTF-8?q?fix:=20`/plugin=20u`=20=E6=8C=87=E4=BB=A4?= =?UTF-8?q?=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- model/command/internal_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/command/internal_handler.py b/model/command/internal_handler.py index 99f4834d8..35a4a756d 100644 --- a/model/command/internal_handler.py +++ b/model/command/internal_handler.py @@ -157,7 +157,7 @@ class InternalCommandHandler: return CommandResult().message("plugin u: 请指定要更新的插件名。") plugin_name = tokens.get(2) try: - await context.updator.update(plugin_name) + await context.plugin_updator.update(plugin_name) except BaseException as e: return CommandResult().message(f"plugin u: 更新插件失败。原因:{str(e)}") return CommandResult().message(f"plugin u: 已经成功更新插件 {plugin_name}。")