From 01676f7b2c6fbb355f8bde1513ecfb2d2b9560de Mon Sep 17 00:00:00 2001 From: tomasgodoi Date: Sun, 1 Oct 2017 12:22:04 -0300 Subject: [PATCH] Including the css field on the guiCurrentCard endpoint. --- AnkiConnect.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/AnkiConnect.py b/AnkiConnect.py index 94ec384..436c771 100644 --- a/AnkiConnect.py +++ b/AnkiConnect.py @@ -785,7 +785,8 @@ class AnkiBridge: 'answer': card._getQA()['a'], 'buttons': [b[0] for b in reviewer._answerButtonList()], 'modelName': model['name'], - 'deckName': self.deckNameFromId(card.did) + 'deckName': self.deckNameFromId(card.did), + 'css': model['css'] }