Skip to content

Commit

Permalink
Fix cabecera
Browse files Browse the repository at this point in the history
  • Loading branch information
eberloso committed Jun 26, 2024
1 parent c673263 commit 7589de5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gestionatr/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ def find_child(element, child_name):
res = re.sub(r'\<[^: \n>/]+:', '<', res)
res = re.sub(r'\</[^: \n>/]+:', '</', res)
res = re.sub(r'<\?.*\?>', '', res)
res = re.sub(r'<cabecera.*>', '<cabecera>', res)
res = res.replace("<consultaCupsResponse>", """<sctdapplication>""")
res = res.replace("</consultaCupsResponse>", """</sctdapplication>""", 1)
aux = etree.fromstring(res)
Expand Down

0 comments on commit 7589de5

Please sign in to comment.