fix incorrect scheduling when importing cards in relearning

private link:
https://anki.tenderapp.com/discussions/ankidesktop/28234
This commit is contained in:
Damien Elmes 2018-05-31 13:27:59 +10:00
parent e2e68e0c54
commit ec090e02eb

View File

@ -299,6 +299,9 @@ class Anki2Importer(Importer):
# review cards have a due date relative to collection
if card[7] in (2, 3) or card[6] == 2:
card[8] -= aheadBy
# odue needs updating too
if card[14]:
card[14] -= aheadBy
# if odid true, convert card from filtered to normal
if card[15]:
# odid