From d9ab56836ad2900ef9d5f7fea77842d59d11287e Mon Sep 17 00:00:00 2001 From: SowinskiBraeden Date: Tue, 6 Dec 2022 12:41:14 -0800 Subject: [PATCH] fix logging student schedules to docx files --- app/util/convertRawData.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/util/convertRawData.py b/app/util/convertRawData.py index f437c0d..f5dccba 100644 --- a/app/util/convertRawData.py +++ b/app/util/convertRawData.py @@ -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