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 = """