From 3ecf83aa14e01b8bca16dd24790a10af9838aa3a Mon Sep 17 00:00:00 2001 From: "Jannis M. Hoffmann" Date: Wed, 17 Jan 2024 11:15:17 +0100 Subject: raw response does not need to be utf-8 --- src/jwebmail/model/read_mails.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/jwebmail/model') diff --git a/src/jwebmail/model/read_mails.py b/src/jwebmail/model/read_mails.py index b322a16..45d5996 100644 --- a/src/jwebmail/model/read_mails.py +++ b/src/jwebmail/model/read_mails.py @@ -110,7 +110,7 @@ class QMailAuthuser: a, b, c = inp.partition(b"\n") d = json.loads(a) if b: - resp = dict(head=d, body=c.decode()) + resp = dict(head=d, body=c) else: resp = d except json.JSONDecodeError: -- cgit v1.2.3