From ec090e02ebdae0e94a8ce1b45ad6f7521b7bf668 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Thu, 31 May 2018 13:27:59 +1000 Subject: [PATCH] fix incorrect scheduling when importing cards in relearning private link: https://anki.tenderapp.com/discussions/ankidesktop/28234 --- anki/importing/anki2.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/anki/importing/anki2.py b/anki/importing/anki2.py index b06cccce8..32228e41a 100644 --- a/anki/importing/anki2.py +++ b/anki/importing/anki2.py @@ -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