From: smh Date: Thu, 6 May 2004 14:32:18 +0000 (+0000) Subject: SALOME_ROOT_DIR replaced with KERNEL_ROOT_DIR X-Git-Tag: Ecole_Ete_a4~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=125ec2179ea500460f6540680f4466c622a25808;p=modules%2Fvisu.git SALOME_ROOT_DIR replaced with KERNEL_ROOT_DIR --- diff --git a/src/VISU_SWIG/visu_med.py b/src/VISU_SWIG/visu_med.py index 46f7bedf..2a5532ae 100644 --- a/src/VISU_SWIG/visu_med.py +++ b/src/VISU_SWIG/visu_med.py @@ -42,7 +42,7 @@ def getFieldObjectFromStudy(number,subnumber): med_comp = salome.lcc.FindOrLoadComponent("FactoryServer", "MED") -medDir = os.getenv('SALOME_ROOT_DIR') + '/data/' +medDir = os.getenv('KERNEL_ROOT_DIR') + '/examples/' def importMedFrom(medDir,medFile): medFile = medDir + medFile