don't mark the given subset as correct for type in the answer

This commit is contained in:
Damien Elmes 2011-01-21 09:16:14 +09:00
parent 34e2b9a71e
commit 49e2526c58

View file

@ -188,7 +188,7 @@ class View(object):
cor = "" cor = ""
if cor: if cor:
given = unicode(self.main.typeAnswerField.text()) given = unicode(self.main.typeAnswerField.text())
res = self.correct(cor, given) res = self.correct(given, cor)
a = res + "<br>" + a a = res + "<br>" + a
self.write(self.center('<span id=answer />' self.write(self.center('<span id=answer />'
+ self.mungeQA(self.main.deck, a))) + self.mungeQA(self.main.deck, a)))