From 447d79ffc0961d84a151a4d64019460e2efe773b Mon Sep 17 00:00:00 2001 From: Thomas Kluyver Date: Wed, 20 Sep 2017 10:27:59 +0100 Subject: [PATCH] Pass API path to get_os_path --- notebook/nbconvert/handlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notebook/nbconvert/handlers.py b/notebook/nbconvert/handlers.py index 94ee1f477..eadbcddb5 100644 --- a/notebook/nbconvert/handlers.py +++ b/notebook/nbconvert/handlers.py @@ -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 = ''