Prepend dashes

merge-requests/30/head
Bob Mottram 2022-07-10 22:52:39 +01:00
parent fc3816ca14
commit 5d0192732c
1 changed files with 1 additions and 1 deletions

View File

@ -1480,7 +1480,7 @@ def extract_text_fields_in_post(post_bytes, boundary: str, debug: bool,
The boundary argument comes from the http header
"""
if boundary == 'LYNX':
boundary == '--LYNX'
boundary = '--LYNX'
if not unit_test_data:
msg_bytes = email.parser.BytesParser().parsebytes(post_bytes)