Skip to content
Snippets Groups Projects
Commit 14e09d01 authored by ale's avatar ale
Browse files

Fix 8bit test

parent eca03f4f
No related branches found
No related tags found
No related merge requests found
Pipeline #38126 passed
...@@ -156,7 +156,7 @@ def encode_base64(msg): ...@@ -156,7 +156,7 @@ def encode_base64(msg):
# now, if content is already encoded as base64 or if it is encoded with # now, if content is already encoded as base64 or if it is encoded with
# some unknown encoding, we just pass. # some unknown encoding, we just pass.
if encoding in [None, 'quoted-printable', 'x-uuencode', if encoding in [None, 'quoted-printable', 'x-uuencode',
'uue', 'x-uue', '7bit']: 'uue', 'x-uue', '7bit', '8bit']:
orig = msg.get_payload(decode=True) orig = msg.get_payload(decode=True)
encdata = _bencode(orig) encdata = _bencode(orig)
msg.set_payload(encdata) msg.set_payload(encdata)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment