fixed ga email bug for real this time

This commit is contained in:
murraydr 2023-11-01 12:31:29 -04:00
parent 0959b1c474
commit eeb64eb1b4

View File

@ -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:])