Commits

Robert Brewer committed 03e7802

Fix for #1059 (py2/jsontools/json_out: debug message uses undefined global (prob. copy&paste mistake))

  • Participants
  • Parent commits 62cc6e9

Comments (0)

Files changed (1)

File cherrypy/lib/jsontools.py

     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