Merge branch 'main' into arknights

This commit is contained in:
felinae98 2021-02-17 00:52:01 +08:00
commit eea8fc3414
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()