From 82fa0fa4d7b858dbd17ffd29a71edfbc325dfd56 Mon Sep 17 00:00:00 2001 From: Anand Chitipothu Date: Mon, 24 May 2021 13:39:48 +0530 Subject: [PATCH] fix: error in loading the progress page --- community/www/batch/progress.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/community/www/batch/progress.py b/community/www/batch/progress.py index 628b6233..5556d03d 100644 --- a/community/www/batch/progress.py +++ b/community/www/batch/progress.py @@ -32,8 +32,7 @@ class BatchReport: def get_submissions(batch): students = batch.get_students() - students_map = {s['email']: s for s in students} - + students_map = {s.email: s for s in students} names, values = nparams("s", students_map.keys()) sql = """