summaryrefslogtreecommitdiff
path: root/yaksh/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh/views.py')
-rw-r--r--yaksh/views.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/yaksh/views.py b/yaksh/views.py
index dd62ec5..5ebe0b5 100644
--- a/yaksh/views.py
+++ b/yaksh/views.py
@@ -535,8 +535,6 @@ def start(request, questionpaper_id=None, attempt_num=None, course_id=None,
)
# allowed to start
if not quest_paper.can_attempt_now(user, course_id)[0]:
- # msg = "You cannot attempt {0} quiz more than {1} time(s)".format(
- # quest_paper.quiz.description, quest_paper.quiz.attempts_allowed)
msg = quest_paper.can_attempt_now(user, course_id)[1]
if is_moderator(user):
return prof_manage(request, msg=msg)