Pavel Loginov 2020-01-30 11:01:37 +03:00
parent bcf77ea534
commit 0180bfdfcc
1 changed files with 1 additions and 1 deletions

View File

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