mirror of
https://github.com/ankitects/anki.git
synced 2025-12-30 23:32:57 -05:00
fix incorrect scheduling when importing cards in relearning
This commit is contained in:
parent
c9c2ae92ee
commit
f3bd16a181
1 changed files with 3 additions and 0 deletions
|
|
@ -301,6 +301,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
|
||||
|
|
|
|||
Loading…
Reference in a new issue