fix logging student schedules to docx files

This commit is contained in:
SowinskiBraeden committed 2022-12-06 12:41:14 -08:00
1 parent 78aed5cc62
commit d9ab56836a
1 file changed
+1 -1
+1 -1
View File
@@ -64,7 +64,7 @@ def putScheduleToWord(
table.columns[1].width = Inches(0.75)
table.columns[2].width = Inches(0.75)
for block in student['schedule']:
for block in student.Schedule:
courseCode = student.Schedule[block][0]
if courseCode in flex: courseName = 'Study'
else: courseName = courses[courseCode[:-2]].Description