summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/mail/walk.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/bitmask/mail/walk.py')
-rw-r--r--src/leap/bitmask/mail/walk.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/leap/bitmask/mail/walk.py b/src/leap/bitmask/mail/walk.py
index 61bbe0b7..6c9fc382 100644
--- a/src/leap/bitmask/mail/walk.py
+++ b/src/leap/bitmask/mail/walk.py
@@ -79,6 +79,7 @@ def get_raw_docs(msg):
'raw': part.get_payload(),
'phash': get_hash(part.get_payload()),
'content-type': part.get_content_type(),
+ 'charset': part.get_content_charset(),
'content-disposition': first(part.get(
'content-disposition', '').split(';')),
'content-transfer-encoding': part.get(