mirror of
https://github.com/Cockatrice/Magic-Spoiler.git
synced 2026-08-26 03:15:20 -05:00
Turn MTGS back on. Small format fix for XML.
This commit is contained in:
2
main.py
2
main.py
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user