From 016cae1a16dafa7e71b6044a62d4f64bef9cc4ed Mon Sep 17 00:00:00 2001 From: duplo Date: Mon, 3 May 2010 13:05:38 +0000 Subject: [PATCH] Save the current BERTOS_PATH in editing mode (instead of override it with the local project directory). git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3595 38d2e660-2303-0410-9eaa-f027e97ec537 --- wizard/bertos_utils.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wizard/bertos_utils.py b/wizard/bertos_utils.py index 1aeaef7a..c2de0045 100644 --- a/wizard/bertos_utils.py +++ b/wizard/bertos_utils.py @@ -115,6 +115,9 @@ def projectFileGenerator(project_info): # For presets save again the BERTOS_PATH into project file project_data["PRESET"] = True project_data["BERTOS_PATH"] = relpath.relpath(project_info.info("BERTOS_PATH"), directory) + elif project_info.edit: + # If in editing mode the BERTOS_PATH is maintained + project_data["BERTOS_PATH"] = relpath.relpath(project_info.info("BERTOS_PATH"), directory) else: # Use the local BeRTOS version instead of the original one # project_data["BERTOS_PATH"] = project_info.info("BERTOS_PATH") -- 2.25.1