From 679cb2f24d797ceafff60d8a59e29f95f9563de4 Mon Sep 17 00:00:00 2001 From: felinae98 <731499577@qq.com> Date: Wed, 17 Feb 2021 00:51:46 +0800 Subject: [PATCH] fix no target --- 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 bd185ec..a61b955 100644 --- a/src/plugins/hk_reporter/platform/platform.py +++ b/src/plugins/hk_reporter/platform/platform.py @@ -259,7 +259,7 @@ class PlatformNoTarget(PlatformProto): res.append(raw_post) return res - async def fetch_new_post(self, users: list[User]) -> list[tuple[User, list[Post]]]: + async def fetch_new_post(self, _: Target, users: list[User]) -> list[tuple[User, list[Post]]]: try: config = Config() post_list = await self.get_sub_list()