diff options
author | Jonathan LaCour <jonathan@cleverdevil.org> | 2010-11-17 10:01:08 -0500 |
---|---|---|
committer | Jonathan LaCour <jonathan@cleverdevil.org> | 2010-11-17 10:01:08 -0500 |
commit | 3e2386cf9e43810a212fdac4cf5c83e1520db296 (patch) | |
tree | df3795567ac160ca5043466a1e93900655c002af /pecan/templating.py | |
parent | 93d42a7a4c11f1e78cdb1df82fbd428f2ca19e85 (diff) | |
download | pecan-3e2386cf9e43810a212fdac4cf5c83e1520db296.tar.gz |
Fixed a bug in the JSON templating engine.
Diffstat (limited to 'pecan/templating.py')
-rw-r--r-- | pecan/templating.py | 3 |
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) # |