mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
repCounts() -> counts()
This commit is contained in:
parent
238a9a823c
commit
5fc4a80458
2 changed files with 2 additions and 2 deletions
|
@ -78,7 +78,7 @@ class Overview(object):
|
|||
desc[:160], desc)
|
||||
|
||||
def _table(self):
|
||||
counts = self.mw.col.sched.repCounts()
|
||||
counts = self.mw.col.sched.counts()
|
||||
finished = not sum(counts)
|
||||
but = self.mw.button
|
||||
if finished:
|
||||
|
|
|
@ -407,7 +407,7 @@ var updateTime = function () {
|
|||
self.bottom._css + self._bottomCSS)
|
||||
|
||||
def _remaining(self):
|
||||
counts = list(self.mw.col.sched.repCounts())
|
||||
counts = list(self.mw.col.sched.counts())
|
||||
idx = self.mw.col.sched.countIdx(self.card)
|
||||
counts[idx] = "<u>%s</u>" % (counts[idx]+1)
|
||||
space = " + "
|
||||
|
|
Loading…
Reference in a new issue