commit | fb3e3c04966ce80c9548c5d49f59535b8d652b75 | [log] [tgz] |
---|---|---|
author | Tony Mack <tmack@paris.CS.Princeton.EDU> | Mon Apr 08 14:49:22 2013 -0400 |
committer | Tony Mack <tmack@paris.CS.Princeton.EDU> | Mon Apr 08 14:49:22 2013 -0400 |
tree | e8d9307fb904ca5686bcca3022599955f23f532e | |
parent | e9d64ca576d54f80b85599bb80722e5c028777b2 [diff] [blame] |
fix AttributeError
diff --git a/plstackapi/util/json.py b/plstackapi/util/json.py index 6767d96..ceb6dc9 100644 --- a/plstackapi/util/json.py +++ b/plstackapi/util/json.py
@@ -2,6 +2,6 @@ def parse_request(request): d = {} - for (k,v) in request.DATA.items(): + for (k,v) in request.items(): d[k] = json.loads(v)