Fix issue #352
This commit is contained in:
parent
9f76e5fff2
commit
6f87f03519
@ -220,6 +220,8 @@ class AnkiConnect:
|
||||
ankiNote[ankiName] = value
|
||||
break
|
||||
|
||||
self.addMediaFromNote(ankiNote, note)
|
||||
|
||||
allowDuplicate = False
|
||||
duplicateScope = None
|
||||
duplicateScopeDeckName = None
|
||||
@ -704,8 +706,6 @@ class AnkiConnect:
|
||||
def addNote(self, note):
|
||||
ankiNote = self.createNote(note)
|
||||
|
||||
self.addMediaFromNote(ankiNote, note)
|
||||
|
||||
collection = self.collection()
|
||||
self.startEditing()
|
||||
nCardsAdded = collection.addNote(ankiNote)
|
||||
|
Loading…
Reference in New Issue
Block a user