diff --git a/plugin/__init__.py b/plugin/__init__.py index 59f2048..a854f59 100644 --- a/plugin/__init__.py +++ b/plugin/__init__.py @@ -742,7 +742,6 @@ class AnkiConnect: nCardsAdded = collection.addNote(ankiNote) if nCardsAdded < 1: raise Exception('The field values you have provided would make an empty question on all cards.') - collection.autosave() return ankiNote.id @@ -832,8 +831,6 @@ class AnkiConnect: ankiNote.flush() - self.collection().autosave() - @util.api() def updateNote(self, note): @@ -899,9 +896,6 @@ class AnkiConnect: # Flush changes to ensure they are saved anki_note.flush() - # Save changes to the collection - collection.autosave() - @util.api() def updateNoteTags(self, note, tags): if type(tags) == str: