Exclude duplicates from mass deck counts

master
trémeur 1 week ago
parent 6e3f617aba
commit a195e97f5c

@ -9,6 +9,7 @@ for series in massdecks:
if card[:-2] in massdecks[series]: if card[:-2] in massdecks[series]:
ownedlist.append(card) ownedlist.append(card)
if len(ownedlist) > 0: if len(ownedlist) > 0:
ownedlist = sorted(list(dict.fromkeys(ownedlist)))
massowned[series] = ownedlist massowned[series] = ownedlist
def massindexgen(): def massindexgen():

Loading…
Cancel
Save