mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -04:00
fix incorrect scheduling when importing cards in relearning
private link: https://anki.tenderapp.com/discussions/ankidesktop/28234
This commit is contained in:
parent
e2e68e0c54
commit
ec090e02eb
1 changed files with 3 additions and 0 deletions
|
@ -299,6 +299,9 @@ class Anki2Importer(Importer):
|
||||||
# review cards have a due date relative to collection
|
# review cards have a due date relative to collection
|
||||||
if card[7] in (2, 3) or card[6] == 2:
|
if card[7] in (2, 3) or card[6] == 2:
|
||||||
card[8] -= aheadBy
|
card[8] -= aheadBy
|
||||||
|
# odue needs updating too
|
||||||
|
if card[14]:
|
||||||
|
card[14] -= aheadBy
|
||||||
# if odid true, convert card from filtered to normal
|
# if odid true, convert card from filtered to normal
|
||||||
if card[15]:
|
if card[15]:
|
||||||
# odid
|
# odid
|
||||||
|
|
Loading…
Reference in a new issue