summaryrefslogtreecommitdiff
path: root/pecan/templating.py
diff options
context:
space:
mode:
authorJonathan LaCour <jonathan@cleverdevil.org>2010-11-17 10:01:08 -0500
committerJonathan LaCour <jonathan@cleverdevil.org>2010-11-17 10:01:08 -0500
commit3e2386cf9e43810a212fdac4cf5c83e1520db296 (patch)
treedf3795567ac160ca5043466a1e93900655c002af /pecan/templating.py
parent93d42a7a4c11f1e78cdb1df82fbd428f2ca19e85 (diff)
downloadpecan-3e2386cf9e43810a212fdac4cf5c83e1520db296.tar.gz
Fixed a bug in the JSON templating engine.
Diffstat (limited to 'pecan/templating.py')
-rw-r--r--pecan/templating.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/pecan/templating.py b/pecan/templating.py
index 47776f0..2d685c0 100644
--- a/pecan/templating.py
+++ b/pecan/templating.py
@@ -34,8 +34,7 @@ class JsonRenderer(object):
def render(self, template_path, namespace):
from jsonify import encode
- result = encode(namespace)
- return result
+ return encode(namespace)
#