summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/jwebmail/__init__.py2
-rw-r--r--src/jwebmail/model/read_mails.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/jwebmail/__init__.py b/src/jwebmail/__init__.py
index 206c1b2..5c31da6 100644
--- a/src/jwebmail/__init__.py
+++ b/src/jwebmail/__init__.py
@@ -34,7 +34,7 @@ else:
toml_read_file = dict(load=toml_load, text=True)
-__version__ = "2.1.0.dev1"
+__version__ = "2.1.0.dev2"
def validate_config(app):
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: