fix: error in loading the progress page

This commit is contained in:
Anand Chitipothu
2021-05-24 13:39:48 +05:30
parent 64752433d2
commit 82fa0fa4d7

View File

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