case-insensitive set codes
This commit is contained in:
parent
f6335528f5
commit
cec6ab372d
|
@ -193,11 +193,11 @@ async def get_cards(card_names):
|
|||
c = scrython.cards.Named(fuzzy=replacement)
|
||||
break
|
||||
else:
|
||||
c = scrython.cards.Named(fuzzy=name, set=set_code)
|
||||
c = scrython.cards.Named(fuzzy=name, set=set_code.lower())
|
||||
|
||||
if collector_num:
|
||||
c_by_num = scrython.cards.Collector(
|
||||
code=set_code,
|
||||
code=set_code.lower(),
|
||||
collector_number=collector_num,
|
||||
)
|
||||
# Make sure the provided name matches
|
||||
|
|
Loading…
Reference in New Issue