From 1a039f22dd70c44bcfec6c731a85e8fbb42725c9 Mon Sep 17 00:00:00 2001 From: marsteralex Date: Fri, 16 Sep 2022 06:36:42 +0200 Subject: [PATCH] allow non-english cards to be replaced --- web/public/mtg/importCards.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/public/mtg/importCards.py b/web/public/mtg/importCards.py index f96f983a..35feb9b4 100644 --- a/web/public/mtg/importCards.py +++ b/web/public/mtg/importCards.py @@ -175,7 +175,7 @@ def fetch_special(query): def write_art(art_names, id, index, card): - if card['digital'] or card['set_type'] == 'promo': + if card['digital'] or card['set_type'] == 'promo' or card['lang'] != 'en': art_names[id] = index else: art_names[id] = -1