From b1bf50c677b5d991cdd45a026773bc2087e068c9 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sun, 30 Oct 2011 19:04:52 +0900 Subject: [PATCH] make sure to save after import --- anki/importing/anki2.py | 1 + 1 file changed, 1 insertion(+) diff --git a/anki/importing/anki2.py b/anki/importing/anki2.py index db4bbdcca..d025557e9 100644 --- a/anki/importing/anki2.py +++ b/anki/importing/anki2.py @@ -212,3 +212,4 @@ insert into revlog values (?,?,?,?,?,?,?,?,?)""", revlog) # make sure new position is correct self.dst.conf['nextPos'] = self.dst.db.scalar( "select max(due)+1 from cards where type = 0") + self.dst.save()