From 87dd70bbd7b5bb5ea0d446f8cdb2552f8fb57600 Mon Sep 17 00:00:00 2001 From: "Jannis M. Hoffmann" Date: Sat, 11 Mar 2023 14:25:33 +0100 Subject: bugfixes and minor version bump --- script/qmauth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'script') diff --git a/script/qmauth.py b/script/qmauth.py index 662b39c..5874fc4 100755 --- a/script/qmauth.py +++ b/script/qmauth.py @@ -272,7 +272,7 @@ def read_mail(f, subfolder, mid): def _descent(xx): head = _get_mime_head_info(xx) if (mctype := head['content_maintype']) == 'message': - body = list(xx.iter_parts())[0] + body = xx.get_content() elif mctype == 'multipart': body = xx.iter_parts() else: -- cgit v1.2.3