From 5fc4a80458338186072c9db897083faf6fda59c4 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Mon, 5 Dec 2011 19:19:25 +0900 Subject: [PATCH] repCounts() -> counts() --- aqt/overview.py | 2 +- aqt/reviewer.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/aqt/overview.py b/aqt/overview.py index 748d2cf52..27b55b966 100644 --- a/aqt/overview.py +++ b/aqt/overview.py @@ -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: diff --git a/aqt/reviewer.py b/aqt/reviewer.py index a3b77a612..254059478 100644 --- a/aqt/reviewer.py +++ b/aqt/reviewer.py @@ -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] = "%s" % (counts[idx]+1) space = " + "