Permalink
Browse files

Pop, not get to avoid passing this to __init__ directly.

  • Loading branch information...
lamby committed Nov 29, 2017
1 parent ab30a5d commit 4dd9cabaa90f636b6e7a93970470a4c568827eab
Showing with 1 addition and 1 deletion.
  1. +1 −1 email_from_template/send_mail.py
@@ -277,7 +277,7 @@ def render(component, fail_silently=False):
kwargs.setdefault('connection', get_connection(
username=kwargs.get('auth_user', None),
password=kwargs.get('auth_password', None),
fail_silently=kwargs.get('fail_silently', False),
fail_silently=kwargs.pop('fail_silently', False),
))
mail = EmailMultiAlternatives(

0 comments on commit 4dd9cab

Please sign in to comment.