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

Fixed auth_helpers.py to work with Python 3.7 #706

Open
wants to merge 1 commit into
base: aiyprojects
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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