From be3d03b4cf5718476516f7564855a17cfe6e4d78 Mon Sep 17 00:00:00 2001 From: duplo Date: Fri, 21 May 2010 12:38:17 +0000 Subject: [PATCH] Fix bug #141. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3779 38d2e660-2303-0410-9eaa-f027e97ec537 --- wizard/BProject.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wizard/BProject.py b/wizard/BProject.py index c3411ade..b31c3f11 100644 --- a/wizard/BProject.py +++ b/wizard/BProject.py @@ -199,7 +199,7 @@ class BProject(object): """ # NOTE: this method does nothing (for now). preset_path = os.path.join(self.infos["BERTOS_PATH"], const.PREDEFINED_BOARDS_DIR) - preset_tree = {} + preset_tree = {"children": []} if os.path.exists(preset_path): preset_tree = self._loadProjectPresetTree(preset_path) self.infos["PRESET_TREE"] = preset_tree -- 2.25.1