From 4fdaa1ec79fa49275111770817637aeb2af3a9c4 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Fri, 6 Feb 2009 18:56:29 +0900 Subject: [PATCH] fix stats size on osx --- anki/stats.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/anki/stats.py b/anki/stats.py index f10f18897..84c9cf644 100644 --- a/anki/stats.py +++ b/anki/stats.py @@ -350,7 +350,10 @@ class DeckStats(object): return "%s%s" % (a, b) if existing and avgInt: html += _("Averages
") - html += "" + if sys.platform.startswith("darwin"): + html += "
" + else: + html += "
" html += tr(_("Interval"), _("%0.0f days") % avgInt) html += tr(_("Average reps"), _("%0.1f cards/day") % ( self.getSumInverseRoundInterval()))