summaryrefslogtreecommitdiff
path: root/src/jwebmail/model
diff options
context:
space:
mode:
authorJannis M. Hoffmann <jannis@fehcom.de>2024-01-17 11:15:17 +0100
committerJannis M. Hoffmann <jannis@fehcom.de>2024-01-17 11:15:17 +0100
commit3ecf83aa14e01b8bca16dd24790a10af9838aa3a (patch)
tree46baf6b778c19cd78d652611f26a1b02ec2aee4a /src/jwebmail/model
parent84b3abd254b737f92e80cc1c154b8942d1610715 (diff)
raw response does not need to be utf-8
Diffstat (limited to 'src/jwebmail/model')
-rw-r--r--src/jwebmail/model/read_mails.py2
1 files changed, 1 insertions, 1 deletions
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: