diff --git a/tailbone/views/roles.py b/tailbone/views/roles.py index c133e5e6..c4d7b929 100644 --- a/tailbone/views/roles.py +++ b/tailbone/views/roles.py @@ -167,7 +167,7 @@ def includeme(config): # TODO: This can finally be removed once all CRUD/index views have been # converted to use the new master view etc. settings = config.get_settings() - RolesView.old_permissions = settings['edbob.permissions'] + RolesView.old_permissions = settings.get('edbob.permissions') RolesView.defaults(config) version_defaults(config, RoleVersionView, 'role')