fix dep_check for modified answer format

EmailTemplateFixes
Ian Ward 2010-04-20 08:35:48 -04:00
parent e60d8af9fe
commit 7ce1a24a8f
1 changed files with 1 additions and 1 deletions

View File

@ -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: