Skip to content

Commit 447d79f

Browse files
committed
Pass API path to get_os_path
1 parent 2056b1b commit 447d79f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

notebook/nbconvert/handlers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def get(self, format, path):
8787
# If the notebook relates to a real file (default contents manager),
8888
# give its path to nbconvert.
8989
if hasattr(self.contents_manager, '_get_os_path'):
90-
os_path = self.contents_manager._get_os_path()
90+
os_path = self.contents_manager._get_os_path(path)
9191
else:
9292
os_path = ''
9393

0 commit comments

Comments
 (0)