Skip to content

Commit

Permalink
Ajout de l'encodage au début des GetCap filtrés
Browse files Browse the repository at this point in the history
  • Loading branch information
CorentinPeutin authored Sep 17, 2024
1 parent ae936f8 commit 492ba11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def writeFilteredGetCap(keysServicesLayers, key, service):
return False

ET.indent(capabilities, space=" ", level=0)
capabilities.write("dist/{}/{}.xml".format(service, key))
capabilities.write("dist/{}/{}.xml".format(service, key), encoding="UTF-8", xml_declaration=True)


if __name__ == "__main__":
Expand Down

0 comments on commit 492ba11

Please sign in to comment.