data fix for json

This commit is contained in:
Kenneth Reitz
2012-06-05 10:32:23 +02:00
parent 49b9635304
commit bc4444acfc
+1 -1
View File
@@ -96,7 +96,7 @@ def get_dict(*keys, **extras):
form = nonflat_dict
try:
_json = json.loads(request.data)
_json = json.loads(data)
except ValueError:
_json = None