improve cron report

This commit is contained in:
Son 2021-10-27 11:48:42 +02:00
parent 35256bcdeb
commit 9d3711a98a

View file

@ -465,7 +465,7 @@ nb_referred_user_upgrade: {stats_today.nb_referred_user_paid} - {increase_percen
report += f""" report += f"""
---- ----
Bounce report: Bounce report:
""" """
for email, bounces in bounce_report(): for email, bounces in bounce_report():
report += f"{email}: {bounces} " report += f"{email}: {bounces} "
@ -473,7 +473,7 @@ Bounce report:
report += f""" report += f"""
----- -----
Alias creation report: Alias creation report:
""" """
for email, nb_alias, date in alias_creation_report(): for email, nb_alias, date in alias_creation_report():
report += f"{email}, {date}: {nb_alias}\n" report += f"{email}, {date}: {nb_alias}\n"