More debug

main
Bob Mottram 2022-07-10 18:44:58 +01:00
parent f32d31464a
commit 9b5f638bee
1 changed files with 2 additions and 0 deletions

View File

@ -1495,6 +1495,8 @@ def extract_text_fields_in_post(post_bytes, boundary: str, debug: bool,
'instanceDescription', 'instanceDescriptionShort',
'subject', 'location', 'imageDescription'
)
if debug:
print('DEBUG: POST message_fields: ' + str(message_fields))
# examine each section of the POST, separated by the boundary
for fld in message_fields:
if fld == '--':