Exclude duplicates from mass deck counts

master
trémeur 5 days ago
parent 6e3f617aba
commit a195e97f5c

@ -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():

Loading…
Cancel
Save