Fix in function name export cert
This commit is contained in:
parent
ace4ef21a7
commit
8e4bf56846
|
@ -10472,8 +10472,10 @@ def _change_pass(rfc):
|
|||
return
|
||||
|
||||
|
||||
def _migrate_cert():
|
||||
rfc = input('Introduce el RFC: ').strip().upper()
|
||||
def _migrate_cert(rfc):
|
||||
if not rfc:
|
||||
rfc = input('Introduce el RFC: ').strip().upper()
|
||||
|
||||
if not rfc:
|
||||
msg = 'El RFC es requerido'
|
||||
log.error(msg)
|
||||
|
@ -10563,8 +10565,8 @@ def main(args):
|
|||
_export_documents()
|
||||
return
|
||||
|
||||
if args.export_cert:
|
||||
_export_cert()
|
||||
if args.migrate_cert:
|
||||
_migrate_cert(args.rfc)
|
||||
return
|
||||
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue