From 360af260ed71c40b4ed320baaf6e34f2fef2f694 Mon Sep 17 00:00:00 2001 From: prathamesh Date: Sat, 2 Sep 2017 03:07:31 +0530 Subject: Issue after merge resolved --- .travis.yml | 2 -- yaksh/views.py | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3759ca2..b2d2a58 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,7 +26,5 @@ after_success: - coverage combine - coverage report -dist: precise - addons: firefox: "46.0" 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, -- cgit