]> SALOME platform Git repositories - modules/smesh.git/blobdiff - bin/smesh_setenv.py
Salome HOME
Porting to ParaView 5.8: additional changes
[modules/smesh.git] / bin / smesh_setenv.py
index a0b75768563d8267eb1327c268689a818970ad02..6826ab0cefa898fac93585d5a9ce1ef53dfffd9b 100644 (file)
@@ -51,7 +51,7 @@ def set_env(args):
         for resource_file in [i for i in os.listdir(resource_dir) \
                                   if osp.isfile(os.path.join(resource_dir, i))]:
             # look for resource file (XML) to extract valid plugin name
-            if resource_file.lower() == '{plugin_lname}.xml':
+            if resource_file.lower() == f'{plugin_lname}.xml':
                 try:
                     # get plugin name from 'resources' attribute of 'meshers-group' xml node
                     # as name extracted from environment variable can be in wrong case