X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=wizard%2Fbertos_utils.py;h=2b7d6767e2a8235e9b58850f7ef74eb2878b6e23;hb=6279b57556c6bb39f10f32b39fb95ff7f1488340;hp=401713f61a4f010a21a68440357b7f2fd13f7f7f;hpb=ef02c60278e6425cd2bcc2b30598924bf53f402d;p=bertos.git diff --git a/wizard/bertos_utils.py b/wizard/bertos_utils.py index 401713f6..2b7d6767 100644 --- a/wizard/bertos_utils.py +++ b/wizard/bertos_utils.py @@ -679,7 +679,8 @@ def loadConfigurationInfos(path): def updateConfigurationValues(def_conf, user_conf): for param in def_conf["paramlist"]: - def_conf[param[1]]["value"] = user_conf[param[1]]["value"] + if param[1] in user_conf and "value" in user_conf[param[1]]: + def_conf[param[1]]["value"] = user_conf[param[1]]["value"] return def_conf def findParameterType(parameter):