mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 00:36:38 -04:00
show lapses in card stats
This commit is contained in:
parent
dc85212bfe
commit
81f2a5318f
1 changed files with 1 additions and 0 deletions
|
@ -40,6 +40,7 @@ class CardStats(object):
|
|||
self.addLine(_("Interval"), fmt(c.ivl * 86400))
|
||||
self.addLine(_("Ease"), "%d%%" % (c.factor/10.0))
|
||||
self.addLine(_("Reviews"), "%d" % c.reps)
|
||||
self.addLine(_("Lapses"), "%d" % c.lapses)
|
||||
(cnt, total) = self.col.db.first(
|
||||
"select count(), sum(time)/1000 from revlog where cid = :id",
|
||||
id=c.id)
|
||||
|
|
Loading…
Reference in a new issue