Skip to content

Commit 4f6d116

Browse files
committed
Fix browser_exe might be null, if not launching browser.
1 parent 8604995 commit 4f6d116

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
@@ -1803,7 +1803,7 @@ def run(cmd):
18031803

18041804
# Pass the URL to open as the very last item on the command line, and use the -url xxx parameter
18051805
# to open the url to work around https://bugzil.la/1996614.
1806-
if not options.android:
1806+
if browser_exe and not options.android:
18071807
if 'firefox' in browser_exe:
18081808
browser += ['-url', url]
18091809
else:

0 commit comments

Comments
 (0)