From c148b94be1ddc672217181c1a9396b75e10055cc Mon Sep 17 00:00:00 2001 From: revsuine Date: Thu, 14 Nov 2024 19:47:59 +0000 Subject: [PATCH] decode_b64_part always returns something --- gpgmymail | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gpgmymail b/gpgmymail index 4d78d91..03132a1 100755 --- a/gpgmymail +++ b/gpgmymail @@ -101,6 +101,8 @@ def decode_email(message: email.message.Message) -> email.message.Message: b64_str, decoded_b64_str ) + + return decoded_bytes quopri_decoded_message = email.message_from_bytes(decoded_bytes) if quopri_decoded_message.is_multipart():