diff --git a/anki/sched.py b/anki/sched.py index 5e7f1b288..62d2d6773 100644 --- a/anki/sched.py +++ b/anki/sched.py @@ -67,10 +67,13 @@ class Scheduler(object): def counts(self): "Does not include fetched but unanswered." if self.deck.conf['counts'] == COUNT_REMAINING: - return (self.newCount, self.lrnCount, self.revCount) + return self.dueCounts() else: return self.answeredCounts() + def dueCounts(self): + return (self.newCount, self.lrnCount, self.revCount) + def answeredCounts(self): t = self.deck.groups.top() return (t['newToday'][1], t['lrnToday'][1], t['revToday'][1])