File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ def _translate_keys(self, **kwargs):
61
61
bcc_copies = self ._format_copies (recipients , bcc )
62
62
recipients = recipients + bcc_copies
63
63
64
- model ['recipients' ] = self ._extractRecipients (recipients )
64
+ model ['recipients' ] = self ._extract_recipients (recipients )
65
65
66
66
attachments = kwargs .get ('attachments' , [])
67
67
model ['content' ]['attachments' ] = self ._extract_attachments (
@@ -72,7 +72,7 @@ def _translate_keys(self, **kwargs):
72
72
def _format_copies (self , recipients , copies ):
73
73
formatted_copies = []
74
74
if len (recipients ) > 0 :
75
- formatted_copies = self ._extractRecipients (copies )
75
+ formatted_copies = self ._extract_recipients (copies )
76
76
for recipient in formatted_copies :
77
77
recipient ['address' ].update ({'header_to' : recipients [0 ]})
78
78
return formatted_copies
@@ -96,7 +96,7 @@ def _get_base64_from_file(self, filename):
96
96
encoded_string = base64 .b64encode (a_file .read ()).decode ("ascii" )
97
97
return encoded_string
98
98
99
- def _extractRecipients (self , recipients ):
99
+ def _extract_recipients (self , recipients ):
100
100
formatted_recipients = []
101
101
for recip in recipients :
102
102
try :
You can’t perform that action at this time.
0 commit comments