mirror of
https://github.com/PaiGramTeam/PamGram.git
synced 2024-11-16 03:55:26 +00:00
🐛 Fix await posted empty data
This commit is contained in:
parent
7b602d503f
commit
ed4c2c4da5
@ -134,7 +134,7 @@ class Post(Plugin.Conversation):
|
|||||||
temp_post_id_list = [post.post_id for post in official_recommended_posts]
|
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:
|
for temp_list in temp_post_id_list:
|
||||||
await self.set_posted(post_type, temp_list)
|
await self.set_posted(post_type, temp_list)
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user