Fix - Verificar certificado de usuario en producción

This commit is contained in:
Mauricio Baeza 2017-10-30 18:56:50 -06:00
parent 5b4183133e
commit 1b9e6e1638
2 changed files with 3 additions and 1 deletions

View File

@ -409,6 +409,9 @@ class Certificado(object):
return {}
data = self._get_info_cer(rfc)
if not data:
return {}
llave = self._get_info_key(password, data['rfc'])
if not llave:
return {}

View File

@ -45,7 +45,6 @@ api.add_route('/products', AppProducts(db))
api.add_route('/invoices', AppInvoices(db))
if DEBUG:
api.add_sink(static, '/static')