]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
[bos #32522][EDF] SALOME on Demand. Fixed using wrong var for if-else check.
authorkosta <kleontev@Debian11.kleontev.virtualbox.org>
Fri, 3 Mar 2023 09:09:58 +0000 (10:09 +0100)
committerKonstantin LEONTEV <konstantin.leontev@opencascade.com>
Wed, 8 Mar 2023 12:46:28 +0000 (13:46 +0100)
bin/SalomeOnDemandTK/extension_utilities.py

index deb8ee6dfbd47462c5b86d11a5ae3a814dcb1dec..9031b1a3b80cbf6770780e346bbc79b03688c6e0 100644 (file)
@@ -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)