Skip to content

Commit

Permalink
fix message variable name in context
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobwegner committed Nov 4, 2016
1 parent eb7caae commit 28dd70c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pinax/notifications/backends/email.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ def deliver(self, recipient, sender, notice_type, extra_context):
), notice_type.label, context)

context.update({
"messages": messages["short.txt"],
"message": messages["short.txt"],
})
subject = "".join(render_to_string("pinax/notifications/email_subject.txt", context).splitlines())

context.update({
"messages": messages["full.txt"]
"message": messages["full.txt"]
})
body = render_to_string("pinax/notifications/email_body.txt", context)

Expand Down

0 comments on commit 28dd70c

Please sign in to comment.