mirror of https://github.com/zulip/zulip.git
Remove return where no return value is expected.
zerver.lib.notifications.send_future_email has return type None. So replace `return send_future_email(...` by `send_future_email(...`.
This commit is contained in:
parent
a61ef3bc0e
commit
07e36d87a2
|
@ -450,13 +450,13 @@ def send_local_email_template_with_delay(recipients, template_prefix,
|
|||
text_content = loader.render_to_string(template_prefix + ".text", template_payload)
|
||||
subject = loader.render_to_string(template_prefix + ".subject", template_payload).strip()
|
||||
|
||||
return send_future_email(recipients,
|
||||
html_content,
|
||||
text_content,
|
||||
subject,
|
||||
delay=delay,
|
||||
sender=sender,
|
||||
tags=tags)
|
||||
send_future_email(recipients,
|
||||
html_content,
|
||||
text_content,
|
||||
subject,
|
||||
delay=delay,
|
||||
sender=sender,
|
||||
tags=tags)
|
||||
|
||||
def enqueue_welcome_emails(email, name):
|
||||
# type: (text_type, text_type) -> None
|
||||
|
|
Loading…
Reference in New Issue