diff options
Diffstat (limited to 'yaksh/models.py')
-rw-r--r-- | yaksh/models.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yaksh/models.py b/yaksh/models.py index 0456b52..eeae4af 100644 --- a/yaksh/models.py +++ b/yaksh/models.py @@ -2311,8 +2311,8 @@ class AnswerPaper(models.Model): q_a[question].append({ 'marks': max([ answer['answer'].marks - for answer in answers - if question == answer['answer'].question + for answer in answers + if question == answer['answer'].question ]) }) |