mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-03 04:00:55 -06:00
Handle a missing case in previous commit where a PG binary may not be present on some systems. #6763
This commit is contained in:
parent
35f05e49b3
commit
3b616b2fb1
@ -396,6 +396,8 @@ def set_binary_path(binary_path, bin_paths, server_type,
|
||||
|
||||
for utility, version in binary_versions.items():
|
||||
version_number = version if version_number is None else version_number
|
||||
# version will be None if binary not present
|
||||
version_number = version_number or ''
|
||||
if version_number.find('.'):
|
||||
version_number = version_number.split('.', 1)[0]
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user