make sure to save after import

This commit is contained in:
Damien Elmes 2011-10-30 19:04:52 +09:00
parent 3bf0b253f2
commit b1bf50c677

View file

@ -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()