debug-style: fixed views

This commit is contained in:
Marcin Kuzminski 2018-10-26 16:25:39 +02:00
parent df052f3c22
commit 130f8a6964

View file

@ -31,7 +31,8 @@ class DebugStylePredicate(object):
phash = text
def __call__(self, info, request):
str2bool(request.registry.settings.get('debug_style'))
return str2bool(request.registry.settings.get('debug_style'))
def includeme(config):
config.add_route_predicate(