comment out bounce report, alias creation report in daily report

This commit is contained in:
Son 2021-10-28 19:01:34 +02:00
parent ebe727dc53
commit 74d4aa9f8f
1 changed files with 22 additions and 21 deletions

43
cron.py
View File

@ -462,27 +462,28 @@ nb_referred_user: {stats_today.nb_referred_user} - {increase_percent(stats_yeste
nb_referred_user_upgrade: {stats_today.nb_referred_user_paid} - {increase_percent(stats_yesterday.nb_referred_user_paid, stats_today.nb_referred_user_paid)} nb_referred_user_upgrade: {stats_today.nb_referred_user_paid} - {increase_percent(stats_yesterday.nb_referred_user_paid, stats_today.nb_referred_user_paid)}
""" """
report += f""" # todo: re-enable
---- # report += f"""
Bounce report: # ----
""" # Bounce report:
# """
for email, bounces in bounce_report(): #
report += f"{email}: {bounces} " # for email, bounces in bounce_report():
# report += f"{email}: {bounces} "
report += f""" #
----- # report += f"""
Alias creation report: # -----
""" # Alias creation report:
# """
for email, nb_alias, date in alias_creation_report(): #
report += f"{email}, {date}: {nb_alias}\n" # for email, nb_alias, date in alias_creation_report():
# report += f"{email}, {date}: {nb_alias}\n"
report += f""" #
----- # report += f"""
Bounce detail report: # -----
""" # Bounce detail report:
report += all_bounce_report() # """
# report += all_bounce_report()
LOG.d("report email: %s", report) LOG.d("report email: %s", report)