🐛 Fix await posted empty data

This commit is contained in:
xtaodada 2024-11-01 13:33:27 +08:00
parent 3796151021
commit 666311e625
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659

View File

@ -134,7 +134,7 @@ class Post(Plugin.Conversation):
temp_post_id_list = [post.post_id for post in official_recommended_posts]
# 判断是否为空
if self.is_posted_empty(post_type):
if await self.is_posted_empty(post_type):
for temp_list in temp_post_id_list:
await self.set_posted(post_type, temp_list)
return