Add support for flags

This commit is contained in:
kuuuube 2024-11-05 14:58:44 -05:00 committed by Alex Yatskov
parent 8bfb4049dc
commit a382fdfe85

View File

@ -1560,6 +1560,7 @@ class AnkiConnect:
'left': card.left,
'mod': card.mod,
'nextReviews': list(nextReviews),
'flags': card.flags,
})
except NotFoundError:
# Anki will give a NotFoundError if the card ID does not exist.