diff options
Diffstat (limited to 'utils.py')
-rw-r--r-- | utils.py | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -28,11 +28,7 @@ def templated(template=None): if template_name is None: template_name = request.endpoint \ .replace('.', '/') + '.html' - - ctx = { - 'app': current_app, - } - ctx.update(f(*args, **kwargs)) + ctx = f(*args, **kwargs) if ctx is None: ctx = {} elif not isinstance(ctx, dict): |