Fix staging for summary report

This commit is contained in:
Joshua Boniface 2024-08-25 16:11:35 -04:00
parent 61365e6e01
commit a957218976
1 changed files with 9 additions and 7 deletions

View File

@ -731,6 +731,7 @@ def worker_cluster_autobackup(
autobackup_end_time = datetime.now() autobackup_end_time = datetime.now()
autobackup_total_time = autobackup_end_time - autobackup_start_time autobackup_total_time = autobackup_end_time - autobackup_start_time
if email_recipients is not None:
send_execution_summary_report( send_execution_summary_report(
(celery, current_stage, total_stages), (celery, current_stage, total_stages),
config, config,
@ -738,6 +739,7 @@ def worker_cluster_autobackup(
total_time=autobackup_total_time, total_time=autobackup_total_time,
summary=backup_summary, summary=backup_summary,
) )
current_stage += 1
current_stage += 1 current_stage += 1
return finish( return finish(