From 6bad4cc8c20c96794632301eec032b55a3ccb9b0 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sun, 4 Dec 2011 15:23:43 +0900 Subject: [PATCH] fix sanity check --- anki/sync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anki/sync.py b/anki/sync.py index b33f966db..e27d2a7d4 100644 --- a/anki/sync.py +++ b/anki/sync.py @@ -140,7 +140,7 @@ select count() from notes where id not in (select distinct nid from cards)""") assert m['usn'] != -1 self.col.sched.reset() return [ - self.col.sched.repCounts(), + list(self.col.sched.repCounts()), self.col.db.scalar("select count() from cards"), self.col.db.scalar("select count() from notes"), self.col.db.scalar("select count() from revlog"),