mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
fix next learn message overestimating delay
https://forums.ankiweb.net/t/bug-with-short-intervals-in-anki-2-1-scheduler/2678
This commit is contained in:
parent
7bcec00ef4
commit
96f9ad1f25
1 changed files with 1 additions and 1 deletions
|
@ -1297,7 +1297,7 @@ from cards where did in {dids} and queue = {QUEUE_TYPE_LRN}
|
|||
next = next or 0
|
||||
remaining = remaining or 0
|
||||
if next and next < self.dayCutoff:
|
||||
next -= intTime() - self.col.conf["collapseTime"]
|
||||
next -= intTime() + self.col.conf["collapseTime"]
|
||||
return self.col.backend.congrats_learn_message(
|
||||
next_due=abs(next), remaining=remaining
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue