Add set code

This commit is contained in:
tooomm 2026-01-10 19:50:16 +01:00
parent 1a10272a82
commit 0057ccc056

View File

@ -251,7 +251,7 @@ def scryfall2mtgjson(scryfall_cards: List[Dict[str, Any]]) -> List[Dict[str, Any
}
trice_cards.append(trice_card)
except Exception as e:
print(f"Unable to parse {sf_card.get('name')}, error: {str(e)}")
print(f"Unable to parse {sf_card.get('name')} ({sf_card.get('set')}): {str(e)}")
return trice_cards