mirror of
https://gitlab.com/chicken-riders/RcGcDb.git
synced 2025-02-23 00:54:09 +00:00
idk fandom
This commit is contained in:
parent
fea260caf8
commit
837fa6e674
|
@ -118,7 +118,8 @@ async def feeds_embed_formatter(post_type, post, message_target, wiki, article_p
|
|||
embed.event_type = "discussion/forum/poll"
|
||||
embed["title"] = _("Created a poll \"{title}\"").format(title=escape_formatting(post["title"]))
|
||||
if message_target[0][1] > 1:
|
||||
poll = post["poll"]
|
||||
poll = post.get("poll", None)
|
||||
if poll is not None:
|
||||
image_type = False
|
||||
if poll["answers"][0]["image"] is not None:
|
||||
image_type = True
|
||||
|
|
Loading…
Reference in a new issue