'week_delta' referenced before assignment in
send_high_dose_alert_emails.py line 113
I'm not sure of the circumstances why it has been triggered now and wasn't previously, but looking at the line in question in pycharm
week_delta is highlighted as possibly referenced before assignment, so we should fix it either way.
The file I was importing was