mirror of https://gitlab.com/bashrc2/epicyon
debug
parent
5cd720c77f
commit
29f665a116
1
utils.py
1
utils.py
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue