Skip to content

Commit

Permalink
refactors code
Browse files Browse the repository at this point in the history
  • Loading branch information
palash16 committed Oct 30, 2017
1 parent 4fb3734 commit 63cda87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sendgrid/helpers/mail/mail.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def get(self):
if self.template_id is not None:
mail["template_id"] = self.template_id

for attribute in [(self.selctions, "sections"), (self.headers, "headers"), (self.custom_args, "custom_args")]:
for attribute in [(self.sections, "sections"), (self.headers, "headers"), (self.custom_args, "custom_args")]:
if attribute[0] is not None:
tmp = {}
for key in attribute[0]:
Expand Down

0 comments on commit 63cda87

Please sign in to comment.