diff --git a/anki/stats.py b/anki/stats.py index 808da5d36..7b68580b9 100644 --- a/anki/stats.py +++ b/anki/stats.py @@ -49,14 +49,15 @@ class CardStats(object): self.addLine(_("Average Time"), fmt(total / float(cnt), point=2)) self.addLine(_("Total Time"), fmt(total, point=2)) self.addLine(_("Model"), c.model().name) - self.addLine(_("Template") + " "*5, c.template()['name']) + self.addLine(_("Template"), c.template()['name']) self.addLine(_("Current Group"), self.deck.groupName(c.gid)) self.addLine(_("Initial Group"), self.deck.groupName(c.fact().gid)) self.txt += "" return self.txt def addLine(self, k, v): - self.txt += "%s%s" % (k, v) + self.txt += "" + self.txt += "%s%s" % (k, v) def strTime(self, tm): s = anki.utils.fmtTimeSpan(time.time() - tm)