From: duplo Date: Thu, 23 Apr 2009 08:13:29 +0000 (+0000) Subject: Resolve the bug of the autoenabled modules X-Git-Tag: 2.1.0~39 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=8407ef595aa824f91b5804cdcc936326b5774c21;p=bertos.git Resolve the bug of the autoenabled modules git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2643 38d2e660-2303-0410-9eaa-f027e97ec537 --- 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