anki-connect icon indicating copy to clipboard operation
anki-connect copied to clipboard

Action DeleteDecks not working when cardsToo is false

Open PaulBonnot opened this issue 4 years ago • 1 comments

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.

PaulBonnot avatar Feb 24 '21 09:02 PaulBonnot

Related to #286 and #272

If anyone knows which function to call I would happily fix it :/

thiswillbeyourgithub avatar Oct 20 '21 10:10 thiswillbeyourgithub