mirror of
https://github.com/ankitects/anki.git
synced 2025-09-22 16:02:23 -04:00
fix exporting of models into apkg
This commit is contained in:
parent
2f2a483a49
commit
875a417346
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ class AnkiExporter(Exporter):
|
||||||
self.dst.sched.forgetCards(cids)
|
self.dst.sched.forgetCards(cids)
|
||||||
# models
|
# models
|
||||||
for m in self.src.models.all():
|
for m in self.src.models.all():
|
||||||
if m['id'] in mids:
|
if int(m['id']) in mids:
|
||||||
self.dst.models.update(m)
|
self.dst.models.update(m)
|
||||||
# decks
|
# decks
|
||||||
if not self.did:
|
if not self.did:
|
||||||
|
|
Loading…
Reference in a new issue