diff options
author | Robert Brewer <fumanchu@aminus.org> | 2011-07-04 14:47:49 +0000 |
---|---|---|
committer | Robert Brewer <fumanchu@aminus.org> | 2011-07-04 14:47:49 +0000 |
commit | 4732abb1177d3d1a4a26e2a426f64bc508e74186 (patch) | |
tree | 49e94fb247310318bba0aa97a55a02eb4f4023ae /cherrypy/lib/jsontools.py | |
parent | 37b06b7322324c80f30ad3a23eb06d376f94f39a (diff) | |
download | cherrypy-git-4732abb1177d3d1a4a26e2a426f64bc508e74186.tar.gz |
Fix for #1059 (py2/jsontools/json_out: debug message uses undefined global (prob. copy&paste mistake))
Diffstat (limited to 'cherrypy/lib/jsontools.py')
-rw-r--r-- | cherrypy/lib/jsontools.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cherrypy/lib/jsontools.py b/cherrypy/lib/jsontools.py index 09042e45..20925791 100644 --- a/cherrypy/lib/jsontools.py +++ b/cherrypy/lib/jsontools.py @@ -82,6 +82,6 @@ def json_out(content_type='application/json', debug=False, handler=json_handler) request.handler = handler if content_type is not None: if debug: - cherrypy.log('Setting Content-Type to %s' % ct, 'TOOLS.JSON_OUT') + cherrypy.log('Setting Content-Type to %s' % content_type, 'TOOLS.JSON_OUT') cherrypy.serving.response.headers['Content-Type'] = content_type |