summaryrefslogtreecommitdiff
path: root/yaksh/views.py
diff options
context:
space:
mode:
authorprathamesh2017-09-02 03:07:31 +0530
committerprathamesh2017-09-02 03:09:55 +0530
commit360af260ed71c40b4ed320baaf6e34f2fef2f694 (patch)
tree22b04c9253d218236111cdd0da5dd0023fc52215 /yaksh/views.py
parent487a1bce493a3ad232a6026e63937c8fa4eb5c8e (diff)
downloadonline_test-360af260ed71c40b4ed320baaf6e34f2fef2f694.tar.gz
online_test-360af260ed71c40b4ed320baaf6e34f2fef2f694.tar.bz2
online_test-360af260ed71c40b4ed320baaf6e34f2fef2f694.zip
Issue after merge resolved
Diffstat (limited to 'yaksh/views.py')
-rw-r--r--yaksh/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/views.py b/yaksh/views.py
index af7951f..ba957db 100644
--- a/yaksh/views.py
+++ b/yaksh/views.py
@@ -424,7 +424,7 @@ def start(request, questionpaper_id=None, attempt_num=None):
if not last_attempt:
attempt_number = 1
else:
- last_attempt.attempt_number + 1
+ attempt_number = last_attempt.attempt_number + 1
context = {
'user': user,
'questionpaper': quest_paper,