From 95a7765e01c163e61ede541cbfe9a1532b82fa7c Mon Sep 17 00:00:00 2001 From: ospalh Date: Mon, 16 Jul 2012 10:32:45 +0200 Subject: [PATCH] Fix unicode/ascii issue. --- aqt/reviewer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aqt/reviewer.py b/aqt/reviewer.py index 000194cf3..1589aa11a 100644 --- a/aqt/reviewer.py +++ b/aqt/reviewer.py @@ -375,8 +375,8 @@ Please run Tools>Maintenance>Empty Cards""") res = self.correct(cor, given) if cor != given: # Wrap the extra text in an id-ed span. - res += '
{0}
{1}
'.format( - _("Correct answer was:"), cor) + res += u"
{0}
{1}
".format( + _(u"Correct answer was:"), cor) # and update the type answer area return re.sub(self.typeAnsPat, """ %s""" %