Skip to content

Commit

Permalink
Fixed linting
Browse files Browse the repository at this point in the history
  • Loading branch information
roll committed Jun 19, 2018
1 parent 575bb4e commit e61aa47
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sendemail/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ def contactview(request):
else:
recepients = settings.PRESS_EMAIL_RECEPIENTS

# flatten recepients list: (('name1', 'email1'), ...) -> ('email1', ...)
# flatten recepients list:
# (('name1', 'email1'), ...) -> ('email1', ...)
recepients = map(lambda recepient: recepient[1], recepients)

# all form data will originate from the same email address
Expand Down

0 comments on commit e61aa47

Please sign in to comment.