From 8407ef595aa824f91b5804cdcc936326b5774c21 Mon Sep 17 00:00:00 2001 From: duplo Date: Thu, 23 Apr 2009 08:13:29 +0000 Subject: [PATCH] Resolve the bug of the autoenabled modules git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2643 38d2e660-2303-0410-9eaa-f027e97ec537 --- wizard/bertos_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wizard/bertos_utils.py b/wizard/bertos_utils.py index 17c3a18f..d8c5f515 100644 --- a/wizard/bertos_utils.py +++ b/wizard/bertos_utils.py @@ -70,7 +70,7 @@ def createBertosProject(project_info): configurations = project_info.info("CONFIGURATIONS") configuration = configurations[information["configuration"]] for start, parameter in configuration["paramlist"]: - if "type" in configuration[parameter] and configuration[parameter]["type"] == "autoenabled": + if "type" in configuration[parameter]["informations"] and configuration[parameter]["informations"]["type"] == "autoenabled": configuration[parameter]["value"] = "1" project_info.setInfo("CONFIGURATIONS", configurations) # Copy all the configuration files -- 2.25.1