From d6a785b645868a0176a8d0f5cb2a613d77975de2 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sat, 8 Mar 2025 04:33:18 +0000 Subject: [PATCH] :balloon: auto fixes by pre-commit hooks --- astrbot/core/star/star_manager.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/astrbot/core/star/star_manager.py b/astrbot/core/star/star_manager.py index be476f33f..750186959 100644 --- a/astrbot/core/star/star_manager.py +++ b/astrbot/core/star/star_manager.py @@ -308,7 +308,9 @@ class PluginManager: context=self.context ) else: - metadata.star_cls = metadata.star_cls_type(context=self.context) + metadata.star_cls = metadata.star_cls_type( + context=self.context + ) else: logger.info(f"插件 {metadata.name} 已被禁用。")