Skip to content

Commit

Permalink
Merge pull request #192 from davidbrochart/no_browser
Browse files Browse the repository at this point in the history
Don't launch a browser just if there is a file to run
  • Loading branch information
Zsailer authored Mar 16, 2020
2 parents d84d52a + 798b57b commit 8cd2374
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jupyter_server/serverapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -1819,7 +1819,7 @@ def start_app(self):
self.write_server_info_file()
self.write_browser_open_file()

if self.open_browser or self.file_to_run:
if self.open_browser:
self.launch_browser()

if self.token and self._token_generated:
Expand Down

0 comments on commit 8cd2374

Please sign in to comment.