mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
set conf name too on upgrade
This commit is contained in:
parent
dc89e34410
commit
5333165c8d
1 changed files with 1 additions and 0 deletions
|
@ -35,6 +35,7 @@ class Anki1Importer(Anki2Importer):
|
||||||
# set imported deck to saved conf
|
# set imported deck to saved conf
|
||||||
id = self.col.decks.confId(self.deckPrefix)
|
id = self.col.decks.confId(self.deckPrefix)
|
||||||
conf['id'] = id
|
conf['id'] = id
|
||||||
|
conf['name'] = self.deckPrefix
|
||||||
self.col.decks.updateConf(conf)
|
self.col.decks.updateConf(conf)
|
||||||
did = self.col.decks.id(self.deckPrefix)
|
did = self.col.decks.id(self.deckPrefix)
|
||||||
d = self.col.decks.get(did)
|
d = self.col.decks.get(did)
|
||||||
|
|
Loading…
Reference in a new issue