Drop Old Masterpieces

This commit is contained in:
tritoch 2017-06-13 16:30:28 -05:00
parent 997ef150a6
commit eb4ef2a0c2

View File

@ -913,6 +913,10 @@ def make_masterpieces(headers, AllSets, spoil):
masterpieces2 = []
for masterpiece in masterpieces:
matched = False
if headers['setname'] in AllSets:
for oldMasterpiece in AllSets[headers['setname']]['cards']:
if masterpiece['name'] == oldMasterpiece['name']:
matched = True
for set in AllSets:
if not matched:
for oldcard in AllSets[set]['cards']: