mirror of
https://github.com/Cockatrice/Magic-Spoiler.git
synced 2026-08-25 02:45:09 -05:00
Minor fix for image
Signed-off-by: ZeldaZach <zahalpern+github@gmail.com>
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user