fixed type in dal with simplejson, thanks Mart
This commit is contained in:
1 parent
0fc60eedfb
commit
9b1b9e73c5
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user