summaryrefslogtreecommitdiff
path: root/alot
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2018-05-15 10:21:07 -0700
committerDylan Baker <dylan@pnwbakers.com>2018-05-15 10:21:07 -0700
commit8fc3c10748a40d685073ad6f52687b6cc08da796 (patch)
tree324f84b18c38706581e573b6066ed7d92413fb77 /alot
parent50039cac321c2b0481f9cc2556180b560321ebc5 (diff)
alot/db/utils: improve unknown CTE message
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 c0fc09f3..811de306 100644
--- a/alot/db/utils.py
+++ b/alot/db/utils.py
@@ -405,7 +405,7 @@ def remove_cte(part, as_string=False):
raw_payload = base64.b64decode(payload)
else:
raise Exception(
- 'Unknown Content-Transfer-Encoding {}'.format(cte))
+ 'Unknown Content-Transfer-Encoding: "{}"'.format(cte))
# message.get_payload(decode=True) also handles a number of unicode
# encodindigs. maybe those are useful?
if not as_string: