From 4313855c0b32e1dd11a22397b6f0190c4b25d131 Mon Sep 17 00:00:00 2001 From: Thiago Montenegro Date: Sun, 30 Jun 2019 14:54:59 -0300 Subject: [PATCH] python2 compatibilidade --- pynfe/entidades/certificado.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pynfe/entidades/certificado.py b/pynfe/entidades/certificado.py index f2a560c..8634455 100644 --- a/pynfe/entidades/certificado.py +++ b/pynfe/entidades/certificado.py @@ -69,6 +69,6 @@ class CertificadoA1(Certificado): try: for i in self.arquivos_temp: os.remove(i) - self.arquivos_temp.clear() + del self.arquivos_temp[:] except: pass