diff --git a/IPython/html/services/kernelspecs/handlers.py b/IPython/html/services/kernelspecs/handlers.py index 975cd5d..dbe8382 100644 --- a/IPython/html/services/kernelspecs/handlers.py +++ b/IPython/html/services/kernelspecs/handlers.py @@ -2,11 +2,9 @@ # Copyright (c) IPython Development Team. # Distributed under the terms of the Modified BSD License. - +import json from tornado import web -from zmq.utils import jsonapi - from ...base.handlers import IPythonHandler, json_errors @@ -24,7 +22,7 @@ class MainKernelSpecHandler(IPythonHandler): results.append(d) self.set_header("Content-Type", 'application/json') - self.finish(jsonapi.dumps(results)) + self.finish(json.dumps(results)) class KernelSpecHandler(IPythonHandler):