Skip to content

Commit 40d04dc

Browse files
authored
Fix macOS emrun when not passing --browser at all. (#26952)
1 parent 08847d7 commit 40d04dc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

emrun.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1609,7 +1609,7 @@ def run(args): # noqa: C901, PLR0912, PLR0915
16091609

16101610
options = emrun_options = parse_args(args)
16111611

1612-
if MACOS and options.browser.endswith('.app') and not options.browser.startswith('open'):
1612+
if MACOS and options.browser and options.browser.endswith('.app') and not options.browser.startswith('open'):
16131613
options.browser_args = f'--new --fresh --background -a {options.browser} {options.browser_args}'
16141614
options.browser = 'open'
16151615

0 commit comments

Comments
 (0)