main
Bob Mottram 2023-11-29 11:23:39 +00:00
parent 5cd720c77f
commit 29f665a116
1 changed files with 1 additions and 0 deletions

View File

@ -392,6 +392,7 @@ def get_media_descriptions_from_post(post_json_object: {}) -> str:
descriptions = ''
for attach in this_post_json['attachment']:
if not isinstance(attach, dict):
print('WARN: attachment is not a dict ' + str(attach))
continue
if not attach.get('name'):
continue