mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue