formatting

This commit is contained in:
tritoch
2017-07-06 22:35:53 -05:00
committed by GitHub
parent 04e6a1892f
commit 9004f6d285

View File

@@ -478,8 +478,8 @@ def write_combined_xml(mtgjson, setinfos):
cardsxml.truncate()
cardsxml.write("<?xml version='1.0' encoding='UTF-8'?>\n"
"<cockatrice_carddatabase version='3'>\n")
cardsxml.write("<!--\n created (UTC): " + datetime.datetime.utcnow().strftime("%a %b %d %H:%M:%S %Z %Y")
+ "\n by: Magic-Spoiler project @ https://github.com/Cockatrice/Magic-Spoiler\n -->\n")
cardsxml.write("<!--\n created (UTC): " + datetime.datetime.utcnow().strftime("%a %b %d %H:%M:%S %Z %Y")
+ "\n by: Magic-Spoiler project @ https://github.com/Cockatrice/Magic-Spoiler\n -->\n")
cardsxml.write("<sets>\n")
for setcode in mtgjson:
setobj = mtgjson[setcode]