From eeb64eb1b4f9d461258084a0b273b82c32c669a5 Mon Sep 17 00:00:00 2001 From: murraydr Date: Wed, 1 Nov 2023 12:31:29 -0400 Subject: [PATCH] fixed ga email bug for real this time --- helperFunctions.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/helperFunctions.py b/helperFunctions.py index 7f510c3..55eddf9 100644 --- a/helperFunctions.py +++ b/helperFunctions.py @@ -409,8 +409,7 @@ def generateEmails(requestList): names=getAllNamesFromSection(s,date)[0] print(names,names!="NoShift") if names!="NoShift": - recipient = nameToID(names[0]) - recipient = req[4]+"@msu.edu" + recipient = nameToID(names[0])+"@msu.edu" subject="Change in helproom staff on "+date message="There has been a substitution in your helproom section: "+s+".\nYour ULAs on "+date+" are "+", ".join(names[1:])