mirror of
https://github.com/PaiGramTeam/MibooGram.git
synced 2024-11-24 00:21:39 +00:00
🐛 Fix await posted empty data
This commit is contained in:
parent
3796151021
commit
666311e625
@ -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