From 3de7b34fc64d499107a2b82ea6a9455b01b0fee9 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Wed, 20 Feb 2013 14:47:30 +0900 Subject: [PATCH] must remove from lrn queue before resched as rev (#668) --- anki/sched.py | 1 + 1 file changed, 1 insertion(+) diff --git a/anki/sched.py b/anki/sched.py index ffd4d6f54..cce43dfa3 100644 --- a/anki/sched.py +++ b/anki/sched.py @@ -1279,6 +1279,7 @@ To study outside of the normal schedule, click the Custom Study button below.""" r = random.randint(imin, imax) d.append(dict(id=id, due=r+t, ivl=max(1, r), mod=mod, usn=self.col.usn(), fact=2500)) + self.removeLrn(ids) self.col.db.executemany(""" update cards set type=2,queue=2,ivl=:ivl,due=:due, usn=:usn, mod=:mod, factor=:fact where id=:id and odid=0""",