Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
mileo committed Apr 3, 2018
1 parent 4e96dcb commit 5d9e572
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pysped/nfe/processador_nfe.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def connect(self):
if sys.version_info >= (2,7,13):
self.sock = ssl.wrap_socket(sock, self.key_file, self.cert_file, ssl_version=ssl.PROTOCOL_TLS, do_handshake_on_connect=False)
else:
self.sock = ssl.wrap_socket(sock, self.key_file, self.cert_file, ssl_version=ssl.PROTOCOL_SSLv23, do_handshake_on_connect=False)
self.sock = ssl.wrap_socket(sock, self.key_file, self.cert_file, ssl_version=ssl.PROTOCOL_TLSv1_2, do_handshake_on_connect=False)


class ProcessadorNFe(object):
Expand Down
4 changes: 2 additions & 2 deletions pysped/nfe/webservices_4.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@
WS_NFE_CONSULTA : 'nfe4/services/NFeConsultaProtocolo4',
WS_NFE_SITUACAO : 'nfe4/services/NFeStatusServico4',
WS_NFE_CONSULTA_CADASTRO: 'nfe2/services/CadConsultaCadastro2',
WS_NFE_RECEPCAO_EVENTO : 'nfe2/services/RecepcaoEvento',
WS_NFE_RECEPCAO_EVENTO : 'nfe4/services/NFeRecepcaoEvento4',
WS_NFE_AUTORIZACAO : 'nfe4/services/NFeAutorizacao4',
WS_NFE_CONSULTA_AUTORIZACAO : 'nfe4/services/NFeRetAutorizacao4',
},
Expand All @@ -286,7 +286,7 @@
WS_NFE_CONSULTA : 'nfe4/services/NFeConsultaProtocolo4',
WS_NFE_SITUACAO : 'nfe4/services/NFeStatusServico4',
WS_NFE_CONSULTA_CADASTRO: 'nfe2/services/CadConsultaCadastro2',
WS_NFE_RECEPCAO_EVENTO : 'nfe2/services/RecepcaoEvento',
WS_NFE_RECEPCAO_EVENTO : 'nfe4/services/NFeRecepcaoEvento4',
WS_NFE_AUTORIZACAO : 'nfe4/services/NFeAutorizacao4',
WS_NFE_CONSULTA_AUTORIZACAO : 'nfe4/services/NFeRetAutorizacao4',
}
Expand Down

0 comments on commit 5d9e572

Please sign in to comment.