From a195e97f5cb58fef30be60a5fd95c0d700e77539 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?tr=C3=A9meur?= Date: Sat, 16 Nov 2024 21:32:24 +0000 Subject: [PATCH] Exclude duplicates from mass deck counts --- massgen.py | 1 + 1 file changed, 1 insertion(+) diff --git a/massgen.py b/massgen.py index f12c8e0..8bb7160 100644 --- a/massgen.py +++ b/massgen.py @@ -9,6 +9,7 @@ for series in massdecks: if card[:-2] in massdecks[series]: ownedlist.append(card) if len(ownedlist) > 0: + ownedlist = sorted(list(dict.fromkeys(ownedlist))) massowned[series] = ownedlist def massindexgen():