Skip to content

Commit

Permalink
address comment
Browse files Browse the repository at this point in the history
  • Loading branch information
devketanpro committed Nov 6, 2024
1 parent e8fc9e0 commit 8c4bae9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions newsroom/email.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def handle_long_lines_html(html):


@celery.task(soft_time_limit=120)
def _send_email(to, subject, text_body, cc=None, html_body=None, sender=None, sender_name=None, attachments_info=None):
def _send_email(to, subject, text_body, html_body=None, sender=None, sender_name=None, attachments_info=None, cc=None):
if attachments_info is None:
attachments_info = []

Expand Down Expand Up @@ -109,7 +109,7 @@ def _send_email(to, subject, text_body, cc=None, html_body=None, sender=None, se
return app.mail.send(msg)


def send_email(to, subject, text_body, cc=None, html_body=None, sender=None, sender_name=None, attachments_info=None):
def send_email(to, subject, text_body, html_body=None, sender=None, sender_name=None, attachments_info=None, cc=None):
"""
Sends the email
:param to: List of recipients
Expand Down

0 comments on commit 8c4bae9

Please sign in to comment.