decode_b64_part always returns something

This commit is contained in:
revsuine 2024-11-14 19:47:59 +00:00
parent ec1fda254a
commit c148b94be1
Signed by: revsuine
GPG key ID: 3F257B68F5BC9339

View file

@ -102,6 +102,8 @@ def decode_email(message: email.message.Message) -> email.message.Message:
decoded_b64_str
)
return decoded_bytes
quopri_decoded_message = email.message_from_bytes(decoded_bytes)
if quopri_decoded_message.is_multipart():
most_recent_boundary = None