Skip to content

Commit

Permalink
Final fix
Browse files Browse the repository at this point in the history
  • Loading branch information
eberloso committed Jun 26, 2024
1 parent 48f538d commit 579fcca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gestionatr/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def request_atr_29(url, user, password, xml_str=None, params=None):
# Clean XML
xml_str = xml_str.strip()
xml_str = xml_str.replace("'utf-8'", "'UTF-8'")
xml_str = xml_str.replace("<?xml version='1.0' encoding='UTF-8'?>", "")
xml_str = re.sub(r'<\?.*\?>', '', xml_str)
xml_str = xml_str.replace("""<sctdapplication xmlns="http://localhost/sctd/A529">""", "")
xml_str = xml_str.replace("""</sctdapplication>""", "")
xml_str = xml_str.replace("<", "<a529:")
Expand Down

0 comments on commit 579fcca

Please sign in to comment.