summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Andreoli <dave@gurumeditation.it>2015-02-03 19:58:49 +0100
committerDave Andreoli <dave@gurumeditation.it>2015-02-03 19:58:49 +0100
commite8749538cef27ed9543b0311ffea4af2986ec54e (patch)
treed94037bf78186f795f6925c83ced8d8188e9d229
parentf05be9a21c274bd89aa7e18c79cb9e222c59b3db (diff)
Do not fail when no start_points are givendevs/davemds/erigo_generator
-rw-r--r--efl/utils/erigo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/efl/utils/erigo.py b/efl/utils/erigo.py
index ba70cd2..f70a0d3 100644
--- a/efl/utils/erigo.py
+++ b/efl/utils/erigo.py
@@ -114,7 +114,7 @@ class ErigoGui(object):
114 raise RuntimeError('Wrong json version. Found: %s, wanted: %s' % \ 114 raise RuntimeError('Wrong json version. Found: %s, wanted: %s' % \
115 (self._data['JSON_Version'], JSON_Version)) 115 (self._data['JSON_Version'], JSON_Version))
116 116
117 for w_name in self._data['Settings']['start_points']: 117 for w_name in self._data['Settings'].get('start_points', []):
118 _widget_generate(self, w_name) 118 _widget_generate(self, w_name)
119 119
120 def widget_generated(self, name, widget): 120 def widget_generated(self, name, widget):