Pass API path to get_os_path

pull/2753/head
Thomas Kluyver 8 years ago
parent 2056b1ba6f
commit 447d79ffc0

@ -87,7 +87,7 @@ class NbconvertFileHandler(IPythonHandler):
# If the notebook relates to a real file (default contents manager),
# give its path to nbconvert.
if hasattr(self.contents_manager, '_get_os_path'):
os_path = self.contents_manager._get_os_path()
os_path = self.contents_manager._get_os_path(path)
else:
os_path = ''

Loading…
Cancel
Save