Pavel Loginov 5 years ago
parent bcf77ea534
commit 0180bfdfcc

@ -170,7 +170,7 @@ def return_ssh_keys_path(serv, **kwargs):
ssh_user_name = '' ssh_user_name = ''
ssh_user_password = '' ssh_user_password = ''
if kwargs.get('id') != '': if kwargs.get('id'):
for sshs in sql.select_ssh(id=kwargs.get('id')): for sshs in sql.select_ssh(id=kwargs.get('id')):
ssh_enable = sshs[2] ssh_enable = sshs[2]
ssh_user_name = sshs[3] ssh_user_name = sshs[3]

Loading…
Cancel
Save