X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=wizard%2Fbertos_utils.py;h=c2de0045ba4aab2a31b41390bd04affebd698432;hb=a256e501c16b63a423267f8621d6bdcda20d3f3a;hp=1aeaef7a78c0c29bb74fae1095a735b90b532141;hpb=a05e3ae271c1aa5c30241e95c6d5e12801ef1f8d;p=bertos.git 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")