Testing with latest

This commit is contained in:
Rebecca Law
2019-11-13 13:40:42 +00:00
parent 516190262a
commit 6155f7666e
2 changed files with 2 additions and 7 deletions

View File

@@ -239,12 +239,9 @@ def check_for_missing_rows_in_completed_jobs():
job = x[1]
missing_rows = find_missing_row_for_job(job.id, job.notification_count)
for row_to_process in missing_rows:
# The sender_id is passed in with job, at this point we no longer have the sender that is passed in.
# The notification will be created with the default sender.
# There is a bug to fix this https://www.pivotaltracker.com/story/show/169569144
recipient_csv, template, sender_id = get_recipient_csv_and_template_and_sender_id(job)
for row in recipient_csv.get_rows():
if row.index == row_to_process.missing_row:
current_app.logger.info(
current_app.logger(
"Processing missing row: {} for job: {}".format(row_to_process.missing_row, job.id))
process_row(row, template, job, job.service, sender_id=sender_id)