From 4f813b92f6a5d0324d777a28ebe65d16f7c5e4e8 Mon Sep 17 00:00:00 2001 From: prathamesh Date: Tue, 24 Feb 2015 17:12:01 +0530 Subject: Removed print statements --- testapp/exam/views.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/testapp/exam/views.py b/testapp/exam/views.py index 01be95d..69d85c6 100644 --- a/testapp/exam/views.py +++ b/testapp/exam/views.py @@ -193,15 +193,10 @@ def intro(request, questionpaper_id): previous_attempt = attempted_papers[already_attempted-1] previous_attempt_day = previous_attempt.start_time today = datetime.datetime.today() - print "not in" if previous_attempt.status == 'inprogress': - print "here" end_time = previous_attempt.end_time quiz_time = previous_attempt.question_paper.quiz.duration*60 - print quiz_time - print (today - previous_attempt_day).seconds if quiz_time > (today-previous_attempt_day).seconds: - print "h" return show_question(request, previous_attempt.current_question(), previous_attempt.attempt_number, -- cgit