diff options
author | Victor Shyba <victor.shyba@gmail.com> | 2014-10-21 07:54:59 -0300 |
---|---|---|
committer | Victor Shyba <victor.shyba@gmail.com> | 2014-10-22 17:27:24 -0300 |
commit | 3baa79696b36bf3ba0db20af58dc5ea6b3a701a3 (patch) | |
tree | be787b1aade837a9a0c5aec73810bd2d7e47f592 | |
parent | d677b1f2cd703f138bff023b3f27438a9d30a21d (diff) |
Card #30 - correctly sets part map for outcoming mail
-rw-r--r-- | service/pixelated/adapter/mail.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service/pixelated/adapter/mail.py b/service/pixelated/adapter/mail.py index 1d2080fa..ebdcf02b 100644 --- a/service/pixelated/adapter/mail.py +++ b/service/pixelated/adapter/mail.py @@ -136,7 +136,7 @@ class InputMail(Mail): hd[fields.SUBJECT_KEY] = self.headers.get('Subject') hd[fields.TYPE_KEY] = fields.TYPE_HEADERS_VAL hd[fields.BODY_KEY] = self._get_body_phash() - hd[fields.PARTS_MAP_KEY] = walk.walk_msg_tree(walk.get_parts(self._mime_multipart), body_phash=self._get_body_phash()) + hd[fields.PARTS_MAP_KEY] = walk.walk_msg_tree(walk.get_parts(self._mime_multipart), body_phash=self._get_body_phash())['part_map'] self._hd = hd return hd |