From 2955e990dadb8f2b493059b6d4bc624e2ace529f Mon Sep 17 00:00:00 2001 From: revsuine Date: Thu, 14 Nov 2024 18:15:06 +0000 Subject: [PATCH] var name typo --- gpgmymail | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpgmymail b/gpgmymail index 2010fc3..0164660 100755 --- a/gpgmymail +++ b/gpgmymail @@ -79,7 +79,7 @@ def decode_email(message: email.message.Message) -> email.message.Message: # decoding needed: # as_string() gives us str, encode() gives us bytes - decoded_bytes = msg.as_string().encode() + decoded_bytes = message.as_string().encode() if "quoted-printable" in decodes_needed: decoded_bytes = quopri.decodestring(decoded_bytes) if "base64" in decodes_needed: