fix no target

This commit is contained in:
felinae98 2021-02-17 00:51:46 +08:00
parent d8bbe19936
commit 679cb2f24d
No known key found for this signature in database
GPG Key ID: 00C8B010587FF610

View File

@ -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()