we need to clear out std models on export or we end up renaming
and the rename affects the exporting deck as well
This commit is contained in:
parent
7aee582a58
commit
bc96a00fd2
@ -152,7 +152,8 @@ class AnkiExporter(Exporter):
|
||||
else:
|
||||
# need to reset card state
|
||||
self.dst.sched.resetCards(cids)
|
||||
# models
|
||||
# models - start with zero
|
||||
self.dst.models.models = {}
|
||||
for m in self.src.models.all():
|
||||
if int(m['id']) in mids:
|
||||
self.dst.models.update(m)
|
||||
|
Loading…
Reference in New Issue
Block a user