mirror of
https://github.com/ankitects/anki.git
synced 2025-09-23 16:26:40 -04:00
make sure to save after import
This commit is contained in:
parent
3bf0b253f2
commit
b1bf50c677
1 changed files with 1 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue