From 1831004c48bf57f2e76f212e77e4b84f118b211c Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 23 Apr 2023 10:36:20 +0100 Subject: [PATCH] Debug --- utils.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/utils.py b/utils.py index 0ba8db8eb..f555328bb 100644 --- a/utils.py +++ b/utils.py @@ -3740,10 +3740,10 @@ def has_object_string_type(post_json_object: {}, debug: bool) -> bool: if post_json_object['object'].get('type'): if isinstance(post_json_object['object']['type'], str): return True - if debug: - if post_json_object.get('type'): - print('DEBUG: ' + post_json_object['type'] + - ' type within object is not a string') + if post_json_object.get('type'): + print('DEBUG: ' + post_json_object['type'] + + ' type within object is not a string ' + + str(post_json_object)) if debug: print('No type field within object ' + post_json_object['id']) return False