summaryrefslogtreecommitdiff
path: root/alot/db/attachment.py
diff options
context:
space:
mode:
Diffstat (limited to 'alot/db/attachment.py')
-rw-r--r--alot/db/attachment.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/db/attachment.py b/alot/db/attachment.py
index ec0feaeb..2868ed66 100644
--- a/alot/db/attachment.py
+++ b/alot/db/attachment.py
@@ -89,5 +89,5 @@ class Attachment(object):
part['Content-Disposition'] = Header(
self.part['Content-Disposition'],
maxlinelen=78,
- header_name='Content-Disposition')
+ header_name='Content-Disposition').encode()
return part