]> SALOME platform Git repositories - modules/eficas.git/commitdiff
Salome HOME
ajout du PATH_MAP comme parametre
authorPascale Noyret <pascale.noyret@edf.fr>
Tue, 5 Oct 2010 07:35:53 +0000 (07:35 +0000)
committerPascale Noyret <pascale.noyret@edf.fr>
Tue, 5 Oct 2010 07:35:53 +0000 (07:35 +0000)
generator/generator_s_polymers_st_1.py

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