mirror of
https://github.com/Cockatrice/Magic-Spoiler.git
synced 2026-04-21 06:27:57 -05:00
move utc tag in xml file
This commit is contained in:
parent
0293efcea0
commit
ff26d45bd0
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user