repCounts() -> counts()

This commit is contained in:
Damien Elmes 2011-12-05 19:19:25 +09:00
parent 238a9a823c
commit 5fc4a80458
2 changed files with 2 additions and 2 deletions

View file

@ -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:

View file

@ -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 = " + "