diff --git a/source/app/controllers/cfdi_cert.py b/source/app/controllers/cfdi_cert.py index 49b72dd..295711b 100644 --- a/source/app/controllers/cfdi_cert.py +++ b/source/app/controllers/cfdi_cert.py @@ -16,7 +16,11 @@ from cryptography.hazmat.primitives import hashes from cryptography.hazmat.primitives.asymmetric import padding -from .conf import TOKEN +try: + from .conf import TOKEN +except ImportError: + TOKEN = '' + print('Agrega el TOKEN al archivo conf.py, obligatorio en v1.41.0') class SATCertificate(object):