Merge pull request #950 from vbraun/use_default_url

Use default_url instead of hardcoding /tree for initial url
Min RK 10 years ago
commit f81113c5a8

@ -1096,7 +1096,7 @@ class NotebookApp(JupyterApp):
relpath = os.path.relpath(self.file_to_run, self.notebook_dir)
uri = url_escape(url_path_join('notebooks', *relpath.split(os.sep)))
else:
uri = 'tree'
uri = self.default_url
if browser:
b = lambda : browser.open(url_path_join(self.connection_url, uri),
new=2)

Loading…
Cancel
Save