From: duplo Date: Fri, 21 May 2010 12:38:17 +0000 (+0000) Subject: Fix bug #141. X-Git-Tag: 2.5.0~138 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=be3d03b4cf5718476516f7564855a17cfe6e4d78;p=bertos.git Fix bug #141. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3779 38d2e660-2303-0410-9eaa-f027e97ec537 --- 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