mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 06:52:21 -04:00
give easy an extra day boost
This commit is contained in:
parent
2fa767c503
commit
add2e0aaa9
1 changed files with 2 additions and 2 deletions
|
@ -494,8 +494,8 @@ queue = 2 %s and due <= :lim order by %s limit %d""" % (
|
||||||
interval = (card.ivl + delay/2) * fct
|
interval = (card.ivl + delay/2) * fct
|
||||||
elif ease == 4:
|
elif ease == 4:
|
||||||
interval = (card.ivl + delay) * fct * conf['rev']['ease4']
|
interval = (card.ivl + delay) * fct * conf['rev']['ease4']
|
||||||
# must be at least one day greater than previous interval
|
# must be at least one day greater than previous interval; two if easy
|
||||||
return max(card.ivl+1, int(interval))
|
return max(card.ivl + (2 if ease==4 else 1), int(interval))
|
||||||
|
|
||||||
def _daysLate(self, card):
|
def _daysLate(self, card):
|
||||||
"Number of days later than scheduled."
|
"Number of days later than scheduled."
|
||||||
|
|
Loading…
Reference in a new issue