decode_b64_part always returns something
This commit is contained in:
parent
ec1fda254a
commit
c148b94be1
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue