Add try in cert
This commit is contained in:
parent
9423aeef6c
commit
cf189b08fa
|
@ -16,7 +16,11 @@ from cryptography.hazmat.primitives import hashes
|
||||||
from cryptography.hazmat.primitives.asymmetric import padding
|
from cryptography.hazmat.primitives.asymmetric import padding
|
||||||
|
|
||||||
|
|
||||||
|
try:
|
||||||
from .conf import TOKEN
|
from .conf import TOKEN
|
||||||
|
except ImportError:
|
||||||
|
TOKEN = ''
|
||||||
|
print('Agrega el TOKEN al archivo conf.py, obligatorio en v1.41.0')
|
||||||
|
|
||||||
|
|
||||||
class SATCertificate(object):
|
class SATCertificate(object):
|
||||||
|
|
Loading…
Reference in New Issue