mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -04:00
we must bump usn when importing anki1 dconf
This commit is contained in:
parent
c92ab5dd19
commit
88b2b3ab85
1 changed files with 1 additions and 0 deletions
|
@ -36,6 +36,7 @@ class Anki1Importer(Anki2Importer):
|
|||
id = self.col.decks.confId(self.deckPrefix)
|
||||
conf['id'] = id
|
||||
conf['name'] = self.deckPrefix
|
||||
conf['usn'] = self.col.usn()
|
||||
self.col.decks.updateConf(conf)
|
||||
did = self.col.decks.id(self.deckPrefix)
|
||||
d = self.col.decks.get(did)
|
||||
|
|
Loading…
Reference in a new issue