mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2025-08-26 09:59:23 +00:00
Re-added toot dialog to make it more compatible with mastodon. Added visibility and audio attachments
This commit is contained in:
@@ -35,7 +35,7 @@ def process_image_descriptions(media_attachments):
|
||||
""" Attempt to extract information for image descriptions. """
|
||||
image_descriptions = []
|
||||
for media in media_attachments:
|
||||
if media.get("description", "") != "":
|
||||
if media.get("description") != None and media.get("description") != "":
|
||||
image_descriptions.append(media.get("description"))
|
||||
idescriptions = ""
|
||||
for image in image_descriptions:
|
||||
|
Reference in New Issue
Block a user