diff --git a/astrbot/core/platform/manager.py b/astrbot/core/platform/manager.py index 31a6e5e85..0e738ca31 100644 --- a/astrbot/core/platform/manager.py +++ b/astrbot/core/platform/manager.py @@ -92,7 +92,8 @@ class PlatformManager: asyncio.create_task( self._task_wrapper( asyncio.create_task( - inst.run(), name=f"platform_{platform_config['type']}_{platform_config['id']}" + inst.run(), + name=f"platform_{platform_config['type']}_{platform_config['id']}", ) ) ) diff --git a/astrbot/core/platform/sources/wecom/wecom_adapter.py b/astrbot/core/platform/sources/wecom/wecom_adapter.py index e39607919..8b6598e0d 100644 --- a/astrbot/core/platform/sources/wecom/wecom_adapter.py +++ b/astrbot/core/platform/sources/wecom/wecom_adapter.py @@ -96,7 +96,6 @@ class WecomServer: ) - @register_platform_adapter("wecom", "wecom 适配器") class WecomPlatformAdapter(Platform): def __init__(