diff options
author | Bob Ippolito <bob@redivi.com> | 2006-01-20 04:35:01 +0000 |
---|---|---|
committer | Bob Ippolito <bob@redivi.com> | 2006-01-20 04:35:01 +0000 |
commit | d496eead9045bf2280dfbdb7329c6dabb9fd4495 (patch) | |
tree | 417e2df06794b6aaad0586a36183deaffa72e028 | |
parent | eb051a075f677a96b4442904ba7a385586422c84 (diff) | |
download | simplejson-d496eead9045bf2280dfbdb7329c6dabb9fd4495.tar.gz |
typo
git-svn-id: http://simplejson.googlecode.com/svn/trunk@16 a4795897-2c25-0410-b006-0d3caba88fa1
-rw-r--r-- | simplejson/jsonfilter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/simplejson/jsonfilter.py b/simplejson/jsonfilter.py index b9073a9..01ca21d 100644 --- a/simplejson/jsonfilter.py +++ b/simplejson/jsonfilter.py @@ -19,7 +19,7 @@ class JSONFilter(object): data = environ['wsgi.input'].read(*map(int, args)) environ['jsonfilter.json'] = simplejson.loads(data) res = simplejson.dumps(self.app(environ, json_start_response)) - jsonp = res.parse_qs(environ.get('QUERY_STRING', '')).get('jsonp') + jsonp = cgi.parse_qs(environ.get('QUERY_STRING', '')).get('jsonp') if jsonp: content_type = 'text/javascript' res = ''.join(jsonp + ['(', res, ')']) |