diff options
| author | Scott <[email protected]> | 2022-01-26 21:34:26 -0800 |
|---|---|---|
| committer | Scott <[email protected]> | 2022-01-26 21:34:26 -0800 |
| commit | 36fea7f15ed17150691b5b3ead75450e575229ef (patch) | |
| tree | 883ec076d7abe7683231244d27ca2c603ffcf031 /google_assistant.py | |
| parent | a0c6b6c28214e0f5167bc25690ada5d83d933086 (diff) | |
Ran black code formatter on everything.
Diffstat (limited to 'google_assistant.py')
| -rw-r--r-- | google_assistant.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/google_assistant.py b/google_assistant.py index 49c08d3..75ca643 100644 --- a/google_assistant.py +++ b/google_assistant.py @@ -21,14 +21,14 @@ parser.add_argument( type=str, default="http://kiosk.house:3000", metavar="URL", - help="How to contact the Google Assistant bridge" + help="How to contact the Google Assistant bridge", ) parser.add_argument( "--google_assistant_username", type=str, metavar="GOOGLE_ACCOUNT", default="scott.gasch", - help="The user account for talking to Google Assistant" + help="The user account for talking to Google Assistant", ) @@ -105,7 +105,9 @@ def ask_google(cmd: str, *, recognize_speech=True) -> GoogleResponse: audio_transcription=audio_transcription, ) else: - message = f'HTTP request to {url} with {payload} failed; code {r.status_code}' + message = ( + f'HTTP request to {url} with {payload} failed; code {r.status_code}' + ) logger.error(message) return GoogleResponse( success=False, |
