Skip to content
This repository has been archived by the owner on Dec 31, 2023. It is now read-only.

Action DeleteDecks not working when cardsToo is false #233

Open
PaulBonnot opened this issue Feb 24, 2021 · 1 comment
Open

Action DeleteDecks not working when cardsToo is false #233

PaulBonnot opened this issue Feb 24, 2021 · 1 comment

Comments

@PaulBonnot
Copy link

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.

@thiswillbeyourgithub
Copy link
Contributor

Related to #286 and #272

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants