mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 17:26:36 -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)
|
desc[:160], desc)
|
||||||
|
|
||||||
def _table(self):
|
def _table(self):
|
||||||
counts = self.mw.col.sched.repCounts()
|
counts = self.mw.col.sched.counts()
|
||||||
finished = not sum(counts)
|
finished = not sum(counts)
|
||||||
but = self.mw.button
|
but = self.mw.button
|
||||||
if finished:
|
if finished:
|
||||||
|
|
|
@ -407,7 +407,7 @@ var updateTime = function () {
|
||||||
self.bottom._css + self._bottomCSS)
|
self.bottom._css + self._bottomCSS)
|
||||||
|
|
||||||
def _remaining(self):
|
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)
|
idx = self.mw.col.sched.countIdx(self.card)
|
||||||
counts[idx] = "<u>%s</u>" % (counts[idx]+1)
|
counts[idx] = "<u>%s</u>" % (counts[idx]+1)
|
||||||
space = " + "
|
space = " + "
|
||||||
|
|
Loading…
Reference in a new issue