From da271e9e4fbc94a827e4a9807e67264e6acb3002 Mon Sep 17 00:00:00 2001 From: HibiKier <45528451+HibiKier@users.noreply.github.com> Date: Sat, 15 Feb 2025 21:29:01 +0800 Subject: [PATCH] =?UTF-8?q?:adhesive=5Fbandage:=20=20=E9=81=93=E5=85=B7?= =?UTF-8?q?=E8=B0=83=E7=94=A8=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zhenxun/builtin_plugins/shop/_data_source.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zhenxun/builtin_plugins/shop/_data_source.py b/zhenxun/builtin_plugins/shop/_data_source.py index b5d693b4..33fc6d3e 100644 --- a/zhenxun/builtin_plugins/shop/_data_source.py +++ b/zhenxun/builtin_plugins/shop/_data_source.py @@ -257,9 +257,9 @@ class ShopManage: else: func(*cls.__parse_args(args, param, **kwargs)) elif asyncio.iscoroutinefunction(func): - await func(**kwargs) + await func() else: - func(**kwargs) + func() @classmethod async def __run(