Adjust import warnings
This commit is contained in:
parent
1e275a8288
commit
bc24b89d25
1 changed files with 5 additions and 8 deletions
|
@ -45,16 +45,13 @@ async def load(
|
|||
foil=is_foil or None,
|
||||
)
|
||||
if not found:
|
||||
# logging.warning("Could not find card for row %s", row)
|
||||
continue
|
||||
elif len(found) > 1:
|
||||
# logging.warning(
|
||||
# "Found %s possibilities for row %s", len(found), row
|
||||
# )
|
||||
# for card in found:
|
||||
# logging.warning(card)
|
||||
logging.warning("Could not find card for row %s", row)
|
||||
continue
|
||||
else:
|
||||
if len(found) > 1:
|
||||
logging.warning(
|
||||
"Found %s possibilities for row %s", len(found), row
|
||||
)
|
||||
card = tutor.models.CardCopy(
|
||||
card=found[0],
|
||||
foil=is_foil,
|
||||
|
|
Loading…
Reference in a new issue