move utc tag in xml file

This commit is contained in:
tooomm 2017-08-23 11:33:11 +02:00 committed by GitHub
parent 0293efcea0
commit ff26d45bd0

View File

@ -497,7 +497,7 @@ 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 %Y, %H:%M:%S")
cardsxml.write("<!--\n created: " + datetime.datetime.utcnow().strftime("%a, %b %d %Y, %H:%M:%S") + " (UTC)"
+ "\n by: Magic-Spoiler project @ https://github.com/Cockatrice/Magic-Spoiler\n -->\n")
cardsxml.write("<sets>\n")
for setcode in mtgjson: