diff options
Diffstat (limited to 'alot/widgets/thread.py')
-rw-r--r-- | alot/widgets/thread.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/widgets/thread.py b/alot/widgets/thread.py index 52e23d07..7d3bafca 100644 --- a/alot/widgets/thread.py +++ b/alot/widgets/thread.py @@ -302,7 +302,7 @@ class _TextPart(_MIMEPartWidget): # decorate inline-forced attachments with a linebox if part.attachment: title = 'attachment %s' % part.content_type - fname = part.attachment.get_filename() + fname = part.attachment.filename if fname: title += ': %s' % fname |