Эх сурвалжийг харах

add xml shebang on top of xml file

Nikos Atlas 7 сар өмнө
parent
commit
4b588f19d1

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

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