diff --git a/anki/sync.py b/anki/sync.py index ee8be173c..e64c07e46 100644 --- a/anki/sync.py +++ b/anki/sync.py @@ -136,6 +136,9 @@ select count() from notes where id not in (select distinct nid from cards)""") for m in self.col.models.all(): assert m['usn'] != -1 self.col.sched.reset() + # check for missing parent decks + self.col.sched.deckDueList() + # return summary of deck return [ list(self.col.sched.counts()), self.col.db.scalar("select count() from cards"),