diff options
author | Jannis M. Hoffmann <jannis@fehcom.de> | 2024-01-17 11:15:17 +0100 |
---|---|---|
committer | Jannis M. Hoffmann <jannis@fehcom.de> | 2024-01-17 11:15:17 +0100 |
commit | 3ecf83aa14e01b8bca16dd24790a10af9838aa3a (patch) | |
tree | 46baf6b778c19cd78d652611f26a1b02ec2aee4a /src/jwebmail | |
parent | 84b3abd254b737f92e80cc1c154b8942d1610715 (diff) |
raw response does not need to be utf-8
Diffstat (limited to 'src/jwebmail')
-rw-r--r-- | src/jwebmail/__init__.py | 2 | ||||
-rw-r--r-- | src/jwebmail/model/read_mails.py | 2 |
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: |