summaryrefslogtreecommitdiffstats
path: root/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'utils.py')
-rw-r--r--utils.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/utils.py b/utils.py
index 2cd30dc..27dfb33 100644
--- a/utils.py
+++ b/utils.py
@@ -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):