mirror of
https://github.com/ankitects/anki.git
synced 2025-09-22 07:52:24 -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)
|
||||
# models
|
||||
for m in self.src.models.all():
|
||||
if m['id'] in mids:
|
||||
if int(m['id']) in mids:
|
||||
self.dst.models.update(m)
|
||||
# decks
|
||||
if not self.did:
|
||||
|
|
Loading…
Reference in a new issue