From e8afeee6c893104048149b9c2f7e79da1fea0cf4 Mon Sep 17 00:00:00 2001 From: Neissi Torres Lima Date: Fri, 5 Sep 2014 11:43:45 -0300 Subject: Neissi/Duda - make sure that complex recipients (e.g. 'Foo Bar ) are showing properly --- service/pixelated/adapter/pixelated_mail.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'service/pixelated') diff --git a/service/pixelated/adapter/pixelated_mail.py b/service/pixelated/adapter/pixelated_mail.py index 40e4f71f..cd34fe46 100644 --- a/service/pixelated/adapter/pixelated_mail.py +++ b/service/pixelated/adapter/pixelated_mail.py @@ -56,7 +56,7 @@ 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.lstrip(), recipients) def _extract_headers(self): temporary_headers = {} -- cgit v1.2.3