mirror of
https://github.com/Cockatrice/Magic-Spoiler.git
synced 2026-03-21 17:54:59 -05:00
Merge pull request #277 from Cockatrice/tooomm-patch-5
Add XML declaration
This commit is contained in:
commit
32fc4ef4fc
|
|
@ -208,7 +208,8 @@ def open_header(card_xml_file: IO[Any]) -> None:
|
|||
:param card_xml_file: Card file path
|
||||
"""
|
||||
card_xml_file.write(
|
||||
"<cockatrice_carddatabase version='3'>\n"
|
||||
"<?xml version='1.0' encoding='UTF-8'?>\n"
|
||||
+ "<cockatrice_carddatabase version='3'>\n"
|
||||
+ " <!--\n"
|
||||
+ " Created At: "
|
||||
+ datetime.datetime.utcnow().strftime("%a, %b %d %Y, %H:%M:%S")
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user