Damien Elmes 2020-05-08 15:25:38 +10:00
parent 961833a137
commit 54734ec88e

View file

@ -737,7 +737,7 @@ where c.nid = n.id and c.id in %s group by nid"""
c.nid, c.nid,
) )
# and finally, update daily counts # and finally, update daily counts
n = 1 if c.queue == 3 else c.queue n = 1 if c.queue in (3,4) else c.queue
type = ("new", "lrn", "rev")[n] type = ("new", "lrn", "rev")[n]
self.sched._updateStats(c, type, -1) self.sched._updateStats(c, type, -1)
self.sched.reps -= 1 self.sched.reps -= 1