Merge pull request #84 from tritoch/post-mtgjson-wipe

After MTGJSON adds the sets, we don't want them anymore
This commit is contained in:
tritoch
2017-07-03 06:39:12 -05:00
committed by GitHub

View File

@@ -86,6 +86,9 @@ if __name__ == '__main__':
AllSets = spoilers.get_allsets() #get AllSets from mtgjson
combinedjson = {}
for setinfo in setinfos:
if setinfo['setname'] in AllSets:
print "Found set from set_info " +setinfo['setname']+ " in MTGJSON, not adding it"
continue
if presets['oldRSS'] or 'noRSS' in setinfo and setinfo['noRSS']:
mtgs = { "cards":[] }
else: