Fixed an issue related to the query tool update connection after the server disconnected from the object explorer. #7865

This commit is contained in:
Anil Sahoo
2024-11-19 15:44:40 +05:30
committed by GitHub
parent a8384a8826
commit 8be65ceb7b
3 changed files with 13 additions and 5 deletions

View File

@@ -233,7 +233,10 @@ class Connection(BaseConnection):
kwargs.pop('password')
is_update_password = False
else:
encpass = kwargs['password'] if 'password' in kwargs else None
if 'encpass' in kwargs:
encpass = kwargs['encpass']
else:
encpass = kwargs['password'] if 'password' in kwargs else None
return password, encpass, is_update_password