From 2168c0f9aaad3d4b1bac16e4daf66ea73983fb99 Mon Sep 17 00:00:00 2001 From: Bruno Date: Wed, 10 Jul 2024 18:19:59 -0300 Subject: [PATCH] [FIX] regex --- src/erpbrasil/edoc/resposta.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/erpbrasil/edoc/resposta.py b/src/erpbrasil/edoc/resposta.py index 347ea24..b510711 100644 --- a/src/erpbrasil/edoc/resposta.py +++ b/src/erpbrasil/edoc/resposta.py @@ -17,7 +17,7 @@ def __init__(self, webservice, raiz, xml, retorno, resposta): def analisar_retorno_raw(operacao, raiz, xml, retorno, classe): retorno.raise_for_status() - match = re.search("(.*?)", retorno.text.replace("\n", "")) + match = re.search("(.*?)", retorno.text.replace("\n", "")) if match: xml_resposta = match.group(1) xml_etree = etree.fromstring(xml_resposta)