allow extraneous whitespace around set code

This commit is contained in:
Holly 2026-02-03 22:42:30 +00:00
parent 925063e531
commit ee5f481322
1 changed files with 1 additions and 1 deletions

View File

@ -193,7 +193,7 @@ async def get_cards(card_names):
c = scrython.cards.Named(fuzzy=replacement)
break
else:
c = scrython.cards.Named(fuzzy=name, set=set_code.lower())
c = scrython.cards.Named(fuzzy=name, set=set_code.lower().strip())
if collector_num:
c_by_num = scrython.cards.Collector(