mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed incorrect binary path issue when the user deletes the binary path from the preferences. Fixes #6619
This commit is contained in:
@@ -192,7 +192,8 @@ class ServerType(object):
|
||||
for bin_path in bin_path_json:
|
||||
if int(bin_path['version']) <= sverison < \
|
||||
int(bin_path['next_major_version']) and \
|
||||
bin_path['binaryPath'] is not None:
|
||||
bin_path['binaryPath'] is not None and \
|
||||
bin_path['binaryPath'].strip() != '':
|
||||
return bin_path['binaryPath']
|
||||
|
||||
if bin_path['isDefault']:
|
||||
|
||||
Reference in New Issue
Block a user