From: Pascale Noyret Date: Tue, 5 Oct 2010 07:35:53 +0000 (+0000) Subject: ajout du PATH_MAP comme parametre X-Git-Tag: V2_1_1_beta~44 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c7b3683fd33629eb01b37ea59a485eca8f9e6df8;p=modules%2Feficas.git ajout du PATH_MAP comme parametre --- diff --git a/generator/generator_s_polymers_st_1.py b/generator/generator_s_polymers_st_1.py index c527375c..603405ff 100644 --- a/generator/generator_s_polymers_st_1.py +++ b/generator/generator_s_polymers_st_1.py @@ -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 * #____________________________________________________________________________________