From 666311e625704347d6f01236d45c7ded775a551b Mon Sep 17 00:00:00 2001 From: xtaodada Date: Fri, 1 Nov 2024 13:33:27 +0800 Subject: [PATCH] :bug: Fix await posted empty data --- plugins/admin/post.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/admin/post.py b/plugins/admin/post.py index ba6af7a..968f499 100644 --- a/plugins/admin/post.py +++ b/plugins/admin/post.py @@ -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