From 31480be5e74ecd6195f1eac79d959004004145e1 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Fri, 15 May 2020 11:03:34 +1000 Subject: [PATCH] fix exporting bug can't/shouldn't pop up confirmation message on export --- pylib/anki/exporting.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pylib/anki/exporting.py b/pylib/anki/exporting.py index 0114f2c65..c12d56544 100644 --- a/pylib/anki/exporting.py +++ b/pylib/anki/exporting.py @@ -226,6 +226,7 @@ class AnkiExporter(Exporter): # need to reset card state self.dst.sched.resetCards(cids) # models - start with zero + self.dst.modSchema(check=False) self.dst.models.remove_all_notetypes() for m in self.src.models.all(): if int(m["id"]) in mids: