diff --git a/anki/stats.py b/anki/stats.py index e8cac5061..8b579c1bd 100644 --- a/anki/stats.py +++ b/anki/stats.py @@ -154,7 +154,7 @@ from revlog where id > ? """+lim, (self.col.sched.dayCutoff-86400)*1000) filt = filt or 0 # studied def bold(s): - return ""+str(s)+"" + return ""+unicode(s)+"" msgp1 = ngettext("%d card", "%d cards", cards) % cards b += _("Studied %(a)s in %(b)s today.") % dict( a=bold(msgp1), b=bold(fmtTimeSpan(thetime, unit=1)))