mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
fix error on final step of lapsed card
https://anki.tenderapp.com/discussions/beta-testing/968-experimental-scheduler-in-anki-210beta31#comment_44552449
This commit is contained in:
parent
a81932e62c
commit
2564dd75ee
1 changed files with 1 additions and 1 deletions
|
@ -670,7 +670,7 @@ did = ? and queue = 3 and due <= ? limit ?""",
|
||||||
return ok+1
|
return ok+1
|
||||||
|
|
||||||
def _graduatingIvl(self, card, conf, early, fuzz=True):
|
def _graduatingIvl(self, card, conf, early, fuzz=True):
|
||||||
if card.type == 2:
|
if card.type in (2,3):
|
||||||
return card.ivl
|
return card.ivl
|
||||||
if not early:
|
if not early:
|
||||||
# graduate
|
# graduate
|
||||||
|
|
Loading…
Reference in a new issue