From d8bbe19936f1ef166a87f97a4028291a466a5a27 Mon Sep 17 00:00:00 2001 From: felinae98 <731499577@qq.com> Date: Tue, 16 Feb 2021 23:20:41 +0800 Subject: [PATCH] fix bug --- src/plugins/hk_reporter/platform/platform.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/hk_reporter/platform/platform.py b/src/plugins/hk_reporter/platform/platform.py index 27b0cf0..bd185ec 100644 --- a/src/plugins/hk_reporter/platform/platform.py +++ b/src/plugins/hk_reporter/platform/platform.py @@ -174,7 +174,7 @@ class PlatformNoTarget(PlatformProto): self.reverse_category[val] = key @staticmethod - async def get_account_name() -> Optional[str]: + async def get_account_name(target: Target) -> Optional[str]: "return the username(name) of the target" raise NotImplementedError()