diff --git a/anki/exporting.py b/anki/exporting.py index ca46dea1b..99346b5c6 100644 --- a/anki/exporting.py +++ b/anki/exporting.py @@ -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: