Skip to content
This repository has been archived by the owner on Feb 9, 2023. It is now read-only.

Commit

Permalink
Fix webbrowser.register() call
Browse files Browse the repository at this point in the history
Change-Id: Ied3e726559738b30dcb80ea1ccf25de0ecaf52aa
  • Loading branch information
dmitriykovalev committed Nov 20, 2020
1 parent fc3bc37 commit 13b9981
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aiy/assistant/auth_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def _credentials_flow_interactive(client_secrets_path):
# Use chromium-browser by default. Raspbian Stretch uses Epiphany by
# default but that seems to cause issues:
# https://github.com/google/aiyprojects-raspbian/issues/269
webbrowser.register('chromium-browser', None, webbrowser.Chrome('chromium-browser'), -1)
webbrowser.register('chromium-browser', None, webbrowser.Chrome('chromium-browser'), preferred=True)
credentials = flow.run_local_server()
else:
credentials = flow.run_console()
Expand Down

0 comments on commit 13b9981

Please sign in to comment.