From 5644f50e510b8211cdca6555456388d6565dc576 Mon Sep 17 00:00:00 2001 From: Rantaharju Jarno Date: Thu, 8 Feb 2024 08:08:01 +0200 Subject: [PATCH] Similar bug in email --- niimpy/reading/email.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/niimpy/reading/email.py b/niimpy/reading/email.py index c5455a00..6e74268b 100644 --- a/niimpy/reading/email.py +++ b/niimpy/reading/email.py @@ -61,7 +61,7 @@ def messages(self): if isinstance(lines[0], bytes): message = email.message_from_bytes(b''.join(lines)) else: - message = email.message_from_string(b''.join(lines)) + message = email.message_from_string(''.join(lines)) yield(message) def close(self):