From 29f665a116309d88d5247266cc3cf3ccfaa25f8c Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 29 Nov 2023 11:23:39 +0000 Subject: [PATCH] debug --- utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/utils.py b/utils.py index eefb15394..bb90553a7 100644 --- a/utils.py +++ b/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