make sure we set usn when pulling in dconf from apkg
This commit is contained in:
parent
9eaacf8977
commit
47c3bb0796
@ -231,7 +231,9 @@ class Anki2Importer(Importer):
|
||||
newid = self.dst.decks.id(name)
|
||||
# pull conf over
|
||||
if 'conf' in g and g['conf'] != 1:
|
||||
self.dst.decks.updateConf(self.src.decks.getConf(g['conf']))
|
||||
conf = self.src.decks.getConf(g['conf'])
|
||||
self.dst.decks.save(conf)
|
||||
self.dst.decks.updateConf(conf)
|
||||
g2 = self.dst.decks.get(newid)
|
||||
g2['conf'] = g['conf']
|
||||
self.dst.decks.save(g2)
|
||||
|
Loading…
Reference in New Issue
Block a user