small learning steps were being stored as a float
https://forums.ankiweb.net/t/bug-with-fractional-learning-intervals/3524/5
This commit is contained in:
parent
755a58b96c
commit
45724a0474
@ -643,7 +643,7 @@ did = ? and queue = {QUEUE_TYPE_DAY_LEARN_RELEARN} and due <= ? limit ?""",
|
|||||||
else:
|
else:
|
||||||
# user deleted final step; use dummy value
|
# user deleted final step; use dummy value
|
||||||
delay = 1
|
delay = 1
|
||||||
return delay * 60
|
return int(delay * 60)
|
||||||
|
|
||||||
def _delayForRepeatingGrade(self, conf: QueueConfig, left: int) -> Any:
|
def _delayForRepeatingGrade(self, conf: QueueConfig, left: int) -> Any:
|
||||||
# halfway between last and next
|
# halfway between last and next
|
||||||
|
Loading…
Reference in New Issue
Block a user