Open TanukiTom opened 2 years ago
Not a bug. You've included too much in my_note
. It should be:
my_note = {
"deckName": "Test Deck",
"modelName": "Basic",
"fields": {
"Front": "front content",
"Back": "back content",
},
"options": {
"allowDuplicate": False
},
"tags": ['tester']
}
I cannot add notes through the addNote action in Python 3.10 and Anki 2.1.54.
My code:
Results in this error:
The "Basic" model in my Anki database. AnkiContect also returns that model name with
invoke('modelNames')
.