Skip to content

Commit d1cc74a

Browse files
Merge pull request #638 from vinayak42/master
Fixed syntax errors in Kitchen sink Python example code
2 parents b046de1 + 5fc6178 commit d1cc74a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

proposals/mail-helper-refactor.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ msg.custom_arg = CustomArg('marketing3', 'true', p=1)
191191
msg.custom_arg = CustomArg('transactional3', 'false', p=1)
192192
msg.custom_arg = [
193193
CustomArg('marketing4', 'false', p=1),
194-
CustomArg('transactional4': 'true', p=1)
194+
CustomArg('transactional4', 'true', p=1)
195195
]
196196

197197
msg.send_at = SendAt(1461775052, p=1)
@@ -230,13 +230,13 @@ msg.template_id = TemplateId('13b8f94f-bcae-4ec6-b752-70d6cb59f932')
230230
msg.global_header = Header('X-Day', 'Monday')
231231
msg.global_headers = [
232232
Header('X-Month', 'January'),
233-
Header('X-Year': '2017')
233+
Header('X-Year', '2017')
234234
]
235235

236236
msg.section = Section('%section1%', 'Substitution for Section 1 Tag')
237237
msg.section = [
238238
Section('%section2%', 'Substitution for Section 2 Tag'),
239-
Section('%section3%': 'Substitution for Section 3 Tag')
239+
Section('%section3%', 'Substitution for Section 3 Tag')
240240
]
241241

242242
try:

0 commit comments

Comments
 (0)