diff options
Diffstat (limited to 'google_assistant.py')
| -rw-r--r-- | google_assistant.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/google_assistant.py b/google_assistant.py index 041648c..49c08d3 100644 --- a/google_assistant.py +++ b/google_assistant.py @@ -96,7 +96,7 @@ def ask_google(cmd: str, *, recognize_speech=True) -> GoogleResponse: logger.exception(e) msg = 'Unable to parse Google assistant\'s response.' logger.warning(msg) - warnings.warn(msg) + warnings.warn(msg, stacklevel=3) audio_transcription = None return GoogleResponse( success=success, |
