]> SALOME platform Git repositories - modules/eficas.git/commitdiff
Salome HOME
os.getenv('MAP_DIRECTORY') used for the import
authorCharles Toulemonde <charles.toulemonde@edf.fr>
Tue, 5 Oct 2010 07:43:34 +0000 (07:43 +0000)
committerCharles Toulemonde <charles.toulemonde@edf.fr>
Tue, 5 Oct 2010 07:43:34 +0000 (07:43 +0000)
generator/generator_s_polymers_st_1.py

index 603405ffedf36ec72e7e6480a35f9fa7ab28c529..9693cbdc5ffff87f4e0d16d661729125baad22a9 100644 (file)
@@ -29,8 +29,7 @@ import types,string,re,os
 from generator_map import MapGenerator
 
 import sys
-from prefs_MAP import PATH_MAP
-sys.path.append(os.path.join(PATH_MAP,'classes/python/'))
+sys.path.append(os.path.join(os.getenv('MAP_DIRECTORY'),'classes/python/'))
 from class_MAP_parameters import *
 
 #____________________________________________________________________________________