Skip to content

Commit

Permalink
fix assinatura.py
Browse files Browse the repository at this point in the history
  • Loading branch information
WeslenPy authored Jan 6, 2025
1 parent 0c2e22a commit 4f93e2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pynfe/processamento/assinatura.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def assinar(self, xml):

class AssinaturaA1(Assinatura):
def __init__(self, certificado, senha):
self.key, self.cert = CertificadoA1(certificado).separar_arquivo(senha)
self.key, self.cert = CertificadoA1(certificado).separar_arquivo(senha,replace_data=False)

def assinar(self, xml, retorna_string=False):
# busca tag que tem id(reference_uri), logo nao importa se tem namespace
Expand Down

0 comments on commit 4f93e2e

Please sign in to comment.