agg add file, skip foil api pricing, update pricing algo
This commit is contained in:
@@ -147,6 +147,10 @@ class TCGPlayerAPIService:
|
||||
if not manabox_card or not tcgplayer_card:
|
||||
logger.warning(f"Card with product id {product_id} missing in either Manabox or TCGPlayer")
|
||||
return None
|
||||
mbfoil = manabox_card.foil
|
||||
if str.lower(mbfoil) == 'foil':
|
||||
logger.warning(f"Card with product id {product_id} is foil, skipping")
|
||||
return None
|
||||
# get scryfall id, tcgplayer id, and tcgplayer sku
|
||||
scryfall_id = manabox_card.scryfall_id
|
||||
tcgplayer_sku = tcgplayer_card.tcgplayer_id
|
||||
|
Reference in New Issue
Block a user