소스 검색

add xml shebang on top of xml file

Nikos Atlas 7 달 전
부모
커밋
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}"