mirror of
https://github.com/Cockatrice/Magic-Spoiler.git
synced 2026-09-15 05:05:40 -05:00
add <info> key
This commit is contained in:
@@ -197,6 +197,14 @@ def open_header(card_xml_file: IO[Any]) -> None:
|
||||
+ " \n"
|
||||
+ " THIS FILE IS AUTOMATICALLY GENERATED & ALL EDITS WILL BE OVERRIDDEN.\n"
|
||||
+ " -->\n"
|
||||
+ "<info>\n"
|
||||
+ "<author>Cockatrice/Magic-Spoiler</author>\n"
|
||||
#TODO, correct date format
|
||||
+ "<createdAt>" + datetime.datetime.utcnow().strftime("%a, %b %d %Y, %H:%M:%S") + "</createdAt>\n"
|
||||
+ "<sourceUrl>https://github.com/Cockatrice/Magic-Spoiler/blob/files/spoiler.xml</sourceUrl>\n"
|
||||
#TODO, version schema
|
||||
+ "<sourceVersion>???</sourceVersion>\n"
|
||||
+ "</info>\n"
|
||||
+ "<sets>\n"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user