From 7ce1a24a8f97469ba517d242a9a1419f65fbc15a Mon Sep 17 00:00:00 2001 From: Ian Ward Date: Tue, 20 Apr 2010 08:35:48 -0400 Subject: [PATCH] fix dep_check for modified answer format --- questionnaire/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/questionnaire/views.py b/questionnaire/views.py index d956b69..6434644 100644 --- a/questionnaire/views.py +++ b/questionnaire/views.py @@ -643,7 +643,7 @@ def dep_check(expr, runinfo, answerdict): ansobj = Answer.objects.filter(question=check_question, runid=runinfo.runid, subject=runinfo.subject) if ansobj: - actual_answer = ansobj[0].answer.split(";")[0] + actual_answer = ansobj[0].split_answer()[0] else: actual_answer = None if actual_answer is None: