mirror of
https://github.com/Cockatrice/Magic-Spoiler.git
synced 2026-03-21 17:54:59 -05:00
Merge pull request #310 from Cockatrice/fix_key_error
Some checks failed
Deploy / Check for new spoiler (push) Has been cancelled
Some checks failed
Deploy / Check for new spoiler (push) Has been cancelled
Fix error & more robust MFC handling
This commit is contained in:
commit
85e4bd093b
|
|
@ -213,7 +213,7 @@ def scryfall2mtgjson(scryfall_cards: List[Dict[str, Any]]) -> List[Dict[str, Any
|
|||
for sf_card in composed_sf_cards:
|
||||
super_types, types, sub_types = build_types(sf_card)
|
||||
|
||||
if "//" in sf_card.get("name", ""):
|
||||
if "card_faces" in sf_card:
|
||||
image = (
|
||||
sf_card["card_faces"][0]
|
||||
.get("image_uris", {})
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user