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:
parent
fdc3028124
commit
3f67f512ec
@ -22,3 +22,4 @@ Bug fixes
|
||||
| `Issue #6448 <https://redmine.postgresql.org/issues/6448>`_ - Fixed an issue in the search object when searching in 'all types' or 'subscription' if the user doesn't have access to the subscription.
|
||||
| `Issue #6574 <https://redmine.postgresql.org/issues/6574>`_ - Fixed an issue where paste is not working through Right-Click option on PSQL.
|
||||
| `Issue #6580 <https://redmine.postgresql.org/issues/6580>`_ - Fixed TypeError 'NoneType' object is not sub scriptable.
|
||||
| `Issue #6619 <https://redmine.postgresql.org/issues/6619>`_ - Fixed incorrect binary path issue when the user deletes the binary path from the preferences.
|
||||
|
@ -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']:
|
||||
|
Loading…
Reference in New Issue
Block a user