From ddbf634dd5ea13de7ffe7c9e717da82bd0673010 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Wed, 24 Aug 2016 14:38:04 +1000 Subject: [PATCH] longer ivl limit in db check https://anki.tenderapp.com/discussions/ankidesktop/19394-strange-behavior-with-year-long-intervals --- anki/collection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anki/collection.py b/anki/collection.py index 0711d03db..55bf8c1d2 100644 --- a/anki/collection.py +++ b/anki/collection.py @@ -790,7 +790,7 @@ and queue = 0""", intTime(), self.usn()) "select max(due)+1 from cards where type = 0") or 0 # reviews should have a reasonable due # ids = self.db.list( - "select id from cards where queue = 2 and due > 10000") + "select id from cards where queue = 2 and due > 100000") if ids: problems.append("Reviews had incorrect due date.") self.db.execute(