mirror of
https://github.com/ankitects/anki.git
synced 2025-11-09 06:07:11 -05:00
make 2 progress too
This commit is contained in:
parent
7b59f4c768
commit
3d026bb882
1 changed files with 2 additions and 2 deletions
|
|
@ -337,7 +337,7 @@ where isDue = 1""")
|
|||
"Return the next interval for CARD given EASE."
|
||||
delay = self._adjustedDelay(card, ease)
|
||||
# if interval is less than mid interval, use presets
|
||||
if card.interval < self.midIntervalMin:
|
||||
if card.interval < self.hardIntervalMin:
|
||||
if ease < 2:
|
||||
interval = NEW_INTERVAL
|
||||
elif ease == 2:
|
||||
|
|
@ -475,7 +475,7 @@ and priority != 0 and type != 2""", time=time)
|
|||
return _("a short time")
|
||||
if ease < 2:
|
||||
interval = self.nextDue(card, ease, self.cardState(card)) - time.time()
|
||||
elif card.interval < self.midIntervalMin:
|
||||
elif card.interval < self.hardIntervalMin:
|
||||
if ease == 2:
|
||||
interval = [self.hardIntervalMin, self.hardIntervalMax]
|
||||
elif ease == 3:
|
||||
|
|
|
|||
Loading…
Reference in a new issue