Turn MTGS back on. Small format fix for XML.

This commit is contained in:
tritoch
2017-06-06 15:03:37 -05:00
parent 480c6d1539
commit ccd094f37c
2 changed files with 2 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ import json
presets = {
"isfullspoil": True, #when full spoil comes around, we only want to use WOTC images
"includeMasterpieces": True, #if the set has masterpieces, let's get those too
"oldRSS": True #maybe MTGS hasn't updated their spoiler.rss but new cards have leaked
"oldRSS": False #maybe MTGS hasn't updated their spoiler.rss but new cards have leaked
}
with open('set_info.json') as data_file:

View File

@@ -749,7 +749,7 @@ def write_xml(mtgjson, setname, setlongname, setreleasedate, split_cards=[]):
"</releasedate>\n"
"</set>\n"
"</sets>\n"
"<cards>")
"<cards>\n")
#print mtgjson
for card in mtgjson["cards"]:
for carda in split_cards: