summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/mail/rfc3156.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/bitmask/mail/rfc3156.py')
-rw-r--r--src/leap/bitmask/mail/rfc3156.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/leap/bitmask/mail/rfc3156.py b/src/leap/bitmask/mail/rfc3156.py
index 7f719f63..3b28b4eb 100644
--- a/src/leap/bitmask/mail/rfc3156.py
+++ b/src/leap/bitmask/mail/rfc3156.py
@@ -157,7 +157,8 @@ def encode_base64(msg):
# for multipart attachments (eg. 7bit or 8bit encoded attachments). For
# now, if content is already encoded as base64 or if it is encoded with
# some unknown encoding, we just pass.
- if encoding in [None, 'quoted-printable', 'x-uuencode', 'uue', 'x-uue']:
+ if encoding in [None, 'quoted-printable', 'x-uuencode',
+ 'uue', 'x-uue', '7bit']:
orig = msg.get_payload(decode=True)
encdata = _bencode(orig)
msg.set_payload(encdata)