From bc4c24cefa81fd7652e7dc47ee8ceaade8f24e23 Mon Sep 17 00:00:00 2001 From: kosta Date: Fri, 3 Mar 2023 10:09:58 +0100 Subject: [PATCH] [bos #32522][EDF] SALOME on Demand. Fixed using wrong var for if-else check. --- bin/SalomeOnDemandTK/extension_utilities.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/SalomeOnDemandTK/extension_utilities.py b/bin/SalomeOnDemandTK/extension_utilities.py index deb8ee6df..9031b1a3b 100644 --- a/bin/SalomeOnDemandTK/extension_utilities.py +++ b/bin/SalomeOnDemandTK/extension_utilities.py @@ -661,7 +661,7 @@ def check_if_installed(install_dir, salomex_name): 'In the former case we can use %s file to clean up.', DFILE_EXT, CFILE_EXT) salomexc = find_salomexc(install_dir, salomex_name) - if salomexd: + if salomexc: logger.debug('An extension %s IS installed.', salomex_name) else: logger.debug('An extension %s IS NOT installed.', salomex_name) -- 2.39.2