must remove from lrn queue before resched as rev (#668)
This commit is contained in:
parent
c80d1209e6
commit
3de7b34fc6
@ -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""",
|
||||
|
Loading…
Reference in New Issue
Block a user