anki-connect
anki-connect copied to clipboard
Action DeleteDecks not working when cardsToo is false
Cf. title.
The action calls the Anki API function decks.rem(), and it looks like the assertion prevents it for deleting the deck : https://github.com/ankitects/anki/blob/main/pylib/anki/decks.py#L137
Maybe I understood it wrong ? If no, the docs should be updated to tell that it is not possible to delete a deck without its cards.
Related to #286 and #272
If anyone knows which function to call I would happily fix it :/