mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -04:00
fix exporting bug
can't/shouldn't pop up confirmation message on export
This commit is contained in:
parent
f1c5c88c10
commit
31480be5e7
1 changed files with 1 additions and 0 deletions
|
@ -226,6 +226,7 @@ class AnkiExporter(Exporter):
|
||||||
# need to reset card state
|
# need to reset card state
|
||||||
self.dst.sched.resetCards(cids)
|
self.dst.sched.resetCards(cids)
|
||||||
# models - start with zero
|
# models - start with zero
|
||||||
|
self.dst.modSchema(check=False)
|
||||||
self.dst.models.remove_all_notetypes()
|
self.dst.models.remove_all_notetypes()
|
||||||
for m in self.src.models.all():
|
for m in self.src.models.all():
|
||||||
if int(m["id"]) in mids:
|
if int(m["id"]) in mids:
|
||||||
|
|
Loading…
Reference in a new issue