summaryrefslogtreecommitdiff
path: root/exam/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'exam/views.py')
-rw-r--r--exam/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/exam/views.py b/exam/views.py
index 61179de..98fe7c7 100644
--- a/exam/views.py
+++ b/exam/views.py
@@ -285,7 +285,7 @@ def monitor(request, quiz_id=None):
papers = QuestionPaper.objects.filter(quiz=quiz,
user__profile__isnull=False)
- sorted(papers,
+ papers = sorted(papers,
cmp=lambda x, y: cmp(x.get_total_marks(), y.get_total_marks()),
reverse=True)