diff --git a/submissions/management/commands/send_refereeing_reminders.py b/submissions/management/commands/send_refereeing_reminders.py index 0e98faa6cf6253a1c44f685d6e1659ae9fc3b1a5..7ffd95bb2e1f14fa5e2f29ffd926ddf1e698494f 100644 --- a/submissions/management/commands/send_refereeing_reminders.py +++ b/submissions/management/commands/send_refereeing_reminders.py @@ -56,7 +56,7 @@ class Command(BaseCommand): mail_sender.send() # one week before refereeing deadline: auto email reminder to ref if workdays_between(timezone.now(), submission.reporting_deadline) == 5: - for invitation in submission.refereeing_invitations.in_process(): + for invitation in submission.referee_invitations.in_process(): mail_sender = DirectMailUtil( mail_code='referees/remind_referee_deadline_1week', instance=invitation) mail_sender.send()