debug-style: fixed views
This commit is contained in:
parent
df052f3c22
commit
130f8a6964
1 changed files with 2 additions and 1 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue