##// END OF EJS Templates
be more explicit about how --browser value is used
Paul Ivanov -
Show More
@@ -291,11 +291,11 b' class NotebookApp(BaseIPythonApplication):'
291 """)
291 """)
292
292
293 browser = Unicode(u'', config=True,
293 browser = Unicode(u'', config=True,
294 help="""Specify which browser to use when opening the
294 help="""Specify what command to use to invoke a web
295 notebook. If not specified, the default browser will be
295 browser when opening the notebook. If not specified, the
296 determined by the `webbrowser` standard library module,
296 default browser will be determined by the `webbrowser`
297 which allows setting of the BROWSER environment variable
297 standard library module, which allows setting of the
298 to override it.
298 BROWSER environment variable to override it.
299 """)
299 """)
300
300
301 read_only = Bool(False, config=True,
301 read_only = Bool(False, config=True,
@@ -441,7 +441,7 b' class NotebookApp(BaseIPythonApplication):'
441
441
442 if self.open_browser:
442 if self.open_browser:
443 ip = self.ip or '127.0.0.1'
443 ip = self.ip or '127.0.0.1'
444 if len(self.browser) == 0:
444 if self.browser:
445 browser = webbrowser.get()
445 browser = webbrowser.get()
446 else:
446 else:
447 browser = webbrowser.get(self.browser)
447 browser = webbrowser.get(self.browser)
General Comments 0
You need to be logged in to leave comments. Login now