From 564c90a3501b6594901f82f0e9e23042897cc73c Mon Sep 17 00:00:00 2001 From: Charles Toulemonde Date: Tue, 5 Oct 2010 07:43:34 +0000 Subject: [PATCH] os.getenv('MAP_DIRECTORY') used for the import --- generator/generator_s_polymers_st_1.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 * #____________________________________________________________________________________ -- 2.39.2