fix default deck being shown in deck options deck prompt

This commit is contained in:
Damien Elmes 2021-08-19 12:33:23 +10:00
parent f06ebb9ea3
commit 79cf49f38d

View File

@ -74,7 +74,7 @@ def confirm_deck_then_display_options(active_card: Optional[Card] = None) -> Non
decks.append(aqt.mw.col.decks.get(card.odid)) decks.append(aqt.mw.col.decks.get(card.odid))
if not any(d["id"] == card.did for d in decks): if not any(d["id"] == card.did for d in decks):
decks.append(aqt.mw.col.decks.get(card.odid)) decks.append(aqt.mw.col.decks.get(card.did))
if len(decks) == 1: if len(decks) == 1:
display_options_for_deck(decks[0]) display_options_for_deck(decks[0])