mirror of
https://github.com/Cockatrice/Magic-Spoiler.git
synced 2026-08-20 08:24:59 -05:00
Drop Old Masterpieces
This commit is contained in:
@@ -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']:
|
||||
|
||||
Reference in New Issue
Block a user