diff --git a/IPython/html/nbconvert/handlers.py b/IPython/html/nbconvert/handlers.py index 02e31d5..6e51bb6 100644 --- a/IPython/html/nbconvert/handlers.py +++ b/IPython/html/nbconvert/handlers.py @@ -19,7 +19,7 @@ class NbconvertFileHandler(IPythonHandler): @web.authenticated def get(self, format, path='', name=None): - exporter = exporter_map[format]() + exporter = exporter_map[format](config=self.config) path = path.strip('/') os_path = self.notebook_manager.get_os_path(name, path) @@ -52,7 +52,7 @@ class NbconvertPostHandler(IPythonHandler): @web.authenticated def post(self, format): - exporter = exporter_map[format]() + exporter = exporter_map[format](config=self.config) model = self.get_json_body() nbnode = to_notebook_json(model['content'])