summaryrefslogtreecommitdiff
path: root/script/qmauth.py
diff options
context:
space:
mode:
authorJannis M. Hoffmann <jannis@fehcom.de>2023-03-11 14:25:33 +0100
committerJannis M. Hoffmann <jannis@fehcom.de>2023-03-11 14:25:33 +0100
commit87dd70bbd7b5bb5ea0d446f8cdb2552f8fb57600 (patch)
treeaaa0bf2fc4180ce172a0797ca0db5713eb3e89e0 /script/qmauth.py
parentfcf5549584b69e62b6c2f0eb919f6799c7904211 (diff)
bugfixes and minor version bump
Diffstat (limited to 'script/qmauth.py')
-rwxr-xr-xscript/qmauth.py2
1 files changed, 1 insertions, 1 deletions
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: