mirror of
https://github.com/ankitects/anki.git
synced 2025-09-23 08:22:24 -04:00
don't add a mature bonus when cramming
This commit is contained in:
parent
8828027729
commit
f156f81a84
1 changed files with 3 additions and 1 deletions
|
@ -947,7 +947,9 @@ and type between 1 and 2""",
|
||||||
if ease == 1:
|
if ease == 1:
|
||||||
# 600 is a magic value which means no bonus, and is used to ease
|
# 600 is a magic value which means no bonus, and is used to ease
|
||||||
# upgrades
|
# upgrades
|
||||||
if oldState == "mature" and self.delay1 and self.delay1 != 600:
|
cram = self.scheduler == "cram"
|
||||||
|
if (not cram and oldState == "mature"
|
||||||
|
and self.delay1 and self.delay1 != 600):
|
||||||
# user wants a bonus of 1+ days. put the failed cards at the
|
# user wants a bonus of 1+ days. put the failed cards at the
|
||||||
# start of the future day, so that failures that day will come
|
# start of the future day, so that failures that day will come
|
||||||
# after the waiting cards
|
# after the waiting cards
|
||||||
|
|
Loading…
Reference in a new issue