Show More
@@ -31,7 +31,8 b' class DebugStylePredicate(object):' | |||||
31 | phash = text |
|
31 | phash = text | |
32 |
|
32 | |||
33 | def __call__(self, info, request): |
|
33 | def __call__(self, info, request): | |
34 | str2bool(request.registry.settings.get('debug_style')) |
|
34 | return str2bool(request.registry.settings.get('debug_style')) | |
|
35 | ||||
35 |
|
36 | |||
36 | def includeme(config): |
|
37 | def includeme(config): | |
37 | config.add_route_predicate( |
|
38 | config.add_route_predicate( |
General Comments 0
You need to be logged in to leave comments.
Login now