##// END OF EJS Templates
fix inverted self.browser logic
MinRK -
Show More
@@ -442,9 +442,9 b' class NotebookApp(BaseIPythonApplication):'
442 442 if self.open_browser:
443 443 ip = self.ip or '127.0.0.1'
444 444 if self.browser:
445 browser = webbrowser.get()
446 else:
447 445 browser = webbrowser.get(self.browser)
446 else:
447 browser = webbrowser.get()
448 448 b = lambda : browser.open("%s://%s:%i%s" % (proto, ip, self.port,
449 449 self.base_project_url),
450 450 new=2)
General Comments 0
You need to be logged in to leave comments. Login now