aboutsummaryrefslogtreecommitdiffstats
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
parentAdded support for Ctxpopup, Dayselector and Diskselector (diff)
downloadpython-efl-devs/davemds/erigo_generator.tar.gz
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):
raise RuntimeError('Wrong json version. Found: %s, wanted: %s' % \
(self._data['JSON_Version'], JSON_Version))
- for w_name in self._data['Settings']['start_points']:
+ for w_name in self._data['Settings'].get('start_points', []):
_widget_generate(self, w_name)
def widget_generated(self, name, widget):