commit
773dc49f2b
@ -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