From: Charles Toulemonde Date: Tue, 5 Oct 2010 07:43:34 +0000 (+0000) Subject: os.getenv('MAP_DIRECTORY') used for the import X-Git-Tag: V2_1_1_beta~43 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=564c90a3501b6594901f82f0e9e23042897cc73c;p=modules%2Feficas.git os.getenv('MAP_DIRECTORY') used for the import --- diff --git a/generator/generator_s_polymers_st_1.py b/generator/generator_s_polymers_st_1.py index 603405ff..9693cbdc 100644 --- a/generator/generator_s_polymers_st_1.py +++ b/generator/generator_s_polymers_st_1.py @@ -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 * #____________________________________________________________________________________