From 8deb35f745ce561eb9eebddb4df728ef6781bb44 Mon Sep 17 00:00:00 2001 From: tooomm Date: Mon, 7 Feb 2022 00:38:31 +0100 Subject: [PATCH] add key (#251) * add key * cleanup doubled * add schemaLocation attribute * updated date output * space * updated version output * bump to v4 * escape quotes * fix schema version * fix * move comment to match token * escape * Revert "escape" This reverts commit 18df8eda306c382c5f4e92a3a8d1cdbaa0ac5924. * Revert "move comment to match token" This reverts commit f1ce0cb850ea678b710001ddccec65f3369f05e7. * correct direct file link Co-authored-by: ebbit1q * Update magic_spoiler/__main__.py * Update magic_spoiler/__main__.py Co-authored-by: ebbit1q --- magic_spoiler/__main__.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/magic_spoiler/__main__.py b/magic_spoiler/__main__.py index 4b35d66c..33ef39e2 100644 --- a/magic_spoiler/__main__.py +++ b/magic_spoiler/__main__.py @@ -208,15 +208,16 @@ def open_header(card_xml_file: IO[Any]) -> None: :param card_xml_file: Card file path """ card_xml_file.write( - "\n" + "\n" + " \n" + + "\n" + + " Cockatrice/Magic-Spoiler\n" + + " " + datetime.datetime.utcnow().strftime("%Y-%m-%d %H:%M:%S") + " (UTC)\n" + + " https://raw.githubusercontent.com/Cockatrice/Magic-Spoiler/files/spoiler.xml\n" + + " \n" + + "\n" + "\n" )