forked from elmau/empresa-libre
Agregar declaración de encoding XML para cancelación
This commit is contained in:
parent
d2bacc3b6b
commit
46efb3693c
|
@ -171,7 +171,7 @@ class SATCertificate(object):
|
||||||
|
|
||||||
xml_signed = ET.tostring(
|
xml_signed = ET.tostring(
|
||||||
tree, encoding='utf-8', xml_declaration=True).decode()
|
tree, encoding='utf-8', xml_declaration=True).decode()
|
||||||
xml_signed = xml_signed.replace("'", '"').replace('utf', 'UTF')
|
# ~ xml_signed = xml_signed.replace("'", '"').replace('utf', 'UTF')
|
||||||
|
|
||||||
return xml_signed
|
return xml_signed
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue