move comment to match token

This commit is contained in:
tooomm 2022-02-06 23:50:29 +01:00 committed by GitHub
parent da5fa92567
commit f1ce0cb850
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -208,10 +208,10 @@ def open_header(card_xml_file: IO[Any]) -> None:
:param card_xml_file: Card file path
"""
card_xml_file.write(
"<cockatrice_carddatabase version='4' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='https://raw.githubusercontent.com/Cockatrice/Cockatrice/master/doc/carddatabase_v4/cards.xsd'>\n"
+ " <!--\n"
+ " THIS FILE IS AUTOMATICALLY GENERATED & ALL EDITS WILL BE OVERRIDDEN.\n"
+ " -->\n"
"<!--\n"
+ "THIS FILE IS AUTOMATICALLY GENERATED ON A REGULAR BASIS. ALL MANUAL EDITS WILL BE OVERRIDDEN.\n"
+ "-->\n"
* "<cockatrice_carddatabase version='4' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='https://raw.githubusercontent.com/Cockatrice/Cockatrice/master/doc/carddatabase_v4/cards.xsd'>\n"
+ "<info>\n"
+ " <author>Cockatrice/Magic-Spoiler</author>\n"
+ " <createdAt>" + datetime.datetime.utcnow().strftime("%Y-%m-%d %H:%M:%S") + " (UTC)" + "</createdAt>\n"