Two fixes: 1. _parse_text_decklist(): replace fragile startswith() section-header detection with case-insensitive regex so [Commander], [Main], [Deck] etc. are always recognised regardless of capitalisation. 2. add_deck_card endpoint: when a card is added with is_commander=1, also update the deck-level commander_name + commander_scryfall_id so the portrait and top-bar label stay in sync.
0 lines
0 B
Python
0 lines
0 B
Python
The file is empty.