extremely light cleaning up of the input being being passed blindly into the scryfall api
This commit is contained in:
parent
93d0c363ad
commit
3a7a9ad33e
|
@ -105,6 +105,7 @@ async def get_cards(card_names):
|
|||
cards = []
|
||||
|
||||
for name in card_names:
|
||||
name = re.sub(r'<.*?>', '', name).strip()
|
||||
try:
|
||||
if len(name) > 141:
|
||||
c = scrython.cards.Named(fuzzy='Our Market Research Shows That Players Like Really Long Card Names So We Make This Card to Have The Absolute Longest Card Name Ever Elemental')
|
||||
|
|
Loading…
Reference in New Issue