summaryrefslogtreecommitdiff
path: root/alot
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2018-05-07 09:10:32 -0700
committerDylan Baker <dylan@pnwbakers.com>2018-05-07 09:10:32 -0700
commitbd8492cd494fdabc5a7c3db443f29a94f70cb4ca (patch)
tree611e0ee8567f424ca99aca8cf25e4ad8e98ae085 /alot
parente1634fba862738c79ad9ad0a47ece9a27e004fa1 (diff)
Add support for binary Content-Transfer-Encoding
Diffstat (limited to 'alot')
-rw-r--r--alot/db/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/db/utils.py b/alot/db/utils.py
index 1f73c2a6..c0fc09f3 100644
--- a/alot/db/utils.py
+++ b/alot/db/utils.py
@@ -394,7 +394,7 @@ def remove_cte(part, as_string=False):
if not as_string:
return raw_payload
return helper.try_decode(raw_payload)
- elif cte == '7bit':
+ elif cte in ['7bit', 'binary']:
if as_string:
return payload
return payload.encode('utf-8')