From 9b1b9e73c54ff9a4b66ce145c4af1e918973ff69 Mon Sep 17 00:00:00 2001 From: mdipierro Date: Sat, 25 May 2013 10:39:16 -0500 Subject: [PATCH] fixed type in dal with simplejson, thanks Mart --- VERSION | 2 +- gluon/dal.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 53be5cc3..d3203f66 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.4.7-stable+timestamp.2013.05.24.12.36.46 +Version 2.4.7-stable+timestamp.2013.05.25.10.38.02 diff --git a/gluon/dal.py b/gluon/dal.py index 89dbb99d..f44ed79d 100644 --- a/gluon/dal.py +++ b/gluon/dal.py @@ -1856,7 +1856,7 @@ class BaseAdapter(ConnectionPool): if have_serializers: obj = serializers.json(obj) elif simplejson: - obj = simplejson.dumps(items) + obj = simplejson.dumps(obj) else: raise RuntimeError("missing simplejson") if not isinstance(obj,bytes):