Skip to content

Commit

Permalink
flake8 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
eugena committed Jan 9, 2018
1 parent 80ef321 commit c4fa595
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion invitations/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ def form_valid(self, form):
return self.form_invalid(form)
return self.render_to_response(
self.get_context_data(
success_message=_('%(email)s has been invited') % {"email": email}))
success_message=_('%(email)s has been invited') % {
"email": email}))

def form_invalid(self, form):
return self.render_to_response(self.get_context_data(form=form))
Expand Down

0 comments on commit c4fa595

Please sign in to comment.