Fix broken guiCurrentCard
A map can't be converted to JSON
This commit is contained in:
parent
6399da13e7
commit
81d49c3cd8
@ -636,7 +636,7 @@ class AnkiBridge:
|
||||
'fieldOrder': card.ord,
|
||||
'question': card._getQA()['q'],
|
||||
'answer': card._getQA()['a'],
|
||||
'buttons': map(lambda b: b[0], reviewer._answerButtonList()),
|
||||
'buttons': [b[0] for b in reviewer._answerButtonList()],
|
||||
'modelName': model['name'],
|
||||
'deckName': self.deckNameFromId(card.did)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user