diff options
Diffstat (limited to 'service/pixelated')
-rw-r--r-- | service/pixelated/adapter/pixelated_mail.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/service/pixelated/adapter/pixelated_mail.py b/service/pixelated/adapter/pixelated_mail.py index 8ed27262..40e4f71f 100644 --- a/service/pixelated/adapter/pixelated_mail.py +++ b/service/pixelated/adapter/pixelated_mail.py @@ -56,14 +56,14 @@ class PixelatedMail: def _split_recipients(self, header_type, temporary_headers): if(temporary_headers.get(header_type) is not None): recipients = temporary_headers[header_type].split(',') - temporary_headers[header_type] = map (lambda x: x.replace(' ', ''), recipients) + temporary_headers[header_type] = map(lambda x: x.replace(' ', ''), recipients) def _extract_headers(self): temporary_headers = {} for header, value in self.leap_mail.hdoc.content['headers'].items(): temporary_headers[header.lower()] = value - map(lambda x: self._split_recipients(x, temporary_headers), ['to', 'bcc','cc']) + map(lambda x: self._split_recipients(x, temporary_headers), ['to', 'bcc', 'cc']) return temporary_headers |