fix typo error, fixes #5
This commit is contained in:
parent
ac5180dc93
commit
d78b8e93d4
@ -474,7 +474,7 @@ class AnkiConnect:
|
|||||||
results = []
|
results = []
|
||||||
for note in notes:
|
for note in notes:
|
||||||
params = AnkiNoteParams(note)
|
params = AnkiNoteParams(note)
|
||||||
if note.validate():
|
if params.validate():
|
||||||
results.append(self.anki.addNote(params))
|
results.append(self.anki.addNote(params))
|
||||||
else:
|
else:
|
||||||
results.append(None)
|
results.append(None)
|
||||||
|
Loading…
Reference in New Issue
Block a user