瀏覽代碼

add xml shebang on top of xml file

Nikos Atlas 9 月之前
父節點
當前提交
4b588f19d1
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/telecaster/Clients/CosmohomeClient.py

+ 1 - 1
src/telecaster/Clients/CosmohomeClient.py

@@ -260,7 +260,7 @@ def generate_xml():
     )
     xml_string = xml.decode('utf-8')
     final_xml = (
-        ''
+        '<?xml version="1.0" ?>'
         '<store name="cosmohome.gr" url="https://cosmohome.gr" encoding="utf8">'
         f'<date>{datetime.now().strftime("%Y-%m-%d %H:%M")}</date>'
         f"{xml_string}"