diff options
Diffstat (limited to 'script/qmauth.py')
-rwxr-xr-x | script/qmauth.py | 2 |
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: |