From 479182bc477aff20c863fbbef8b56a705981ccbf Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Mon, 3 Oct 2011 21:22:13 +0200 Subject: [PATCH] s --- pandora/user/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora/user/views.py b/pandora/user/views.py index 9929128e..3274a31e 100644 --- a/pandora/user/views.py +++ b/pandora/user/views.py @@ -325,7 +325,7 @@ def editUser(request): } ''' response = json_response() - data = json.load(request.POST['data']) + data = json.loads(request.POST['data']) user = get_object_or_404_json(models.User, username=data['id']) profile = user.get_profile() if 'email' in data: