diff --git a/tailbone/views/poser/views.py b/tailbone/views/poser/views.py index a7ace23e..e69d51d3 100644 --- a/tailbone/views/poser/views.py +++ b/tailbone/views/poser/views.py @@ -284,7 +284,7 @@ class PoserViewView(PoserMasterView): for topkey, topgroup in six.iteritems(view_settings): for key in list(topgroup): settings = topgroup[key] - settings = [(key, setting['label']) + settings = [(key, setting.get('label', key)) for key, setting in six.iteritems(settings)] settings.sort(key=lambda itm: itm[1]) topgroup[key] = settings