From: kosta Date: Fri, 3 Mar 2023 09:09:58 +0000 (+0100) Subject: [bos #32522][EDF] SALOME on Demand. Fixed using wrong var for if-else check. X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=bc4c24cefa81fd7652e7dc47ee8ceaade8f24e23;p=modules%2Fkernel.git [bos #32522][EDF] SALOME on Demand. Fixed using wrong var for if-else check. --- 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)