mirror of
https://github.com/Cockatrice/Magic-Spoiler.git
synced 2026-03-21 17:54:59 -05:00
Minor fix for image
Signed-off-by: ZeldaZach <zahalpern+github@gmail.com>
This commit is contained in:
parent
69fac381f9
commit
54fc3aae83
|
|
@ -160,7 +160,7 @@ def scryfall2mtgjson(scryfall_cards: List[Dict[str, Any]]) -> List[Dict[str, Any
|
|||
sf_card["card_faces"][0]
|
||||
.get("image_uris", {})
|
||||
.get("normal", "")
|
||||
.rsplit("?", 1)[0],
|
||||
.rsplit("?", 1)[0]
|
||||
)
|
||||
else:
|
||||
image = sf_card.get("image_uris", {}).get("normal", "").rsplit("?", 1)[0]
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user