counts->repCounts

This commit is contained in:
Damien Elmes 2011-09-23 14:47:41 +09:00
parent 2f7bbd4d86
commit 4087d1f4f9

View file

@ -574,7 +574,7 @@ div#filler {
# fixme: only show progress for reviews, and only when revs due? # fixme: only show progress for reviews, and only when revs due?
def _updateRemaining(self): def _updateRemaining(self):
counts = list(self.mw.deck.sched.counts()) counts = list(self.mw.deck.sched.repCounts())
idx = self.mw.deck.sched.countIdx(self.card) idx = self.mw.deck.sched.countIdx(self.card)
counts[idx] = "<u>%s</u>" % (counts[idx]+1) counts[idx] = "<u>%s</u>" % (counts[idx]+1)
space = "&nbsp;" * 2 space = "&nbsp;" * 2