Hook in pylint to the pre-commit hook and start to fix some of its
[python_utils.git] / google_assistant.py
index ec5f6a4c85e17ed0fb2eaaf4f2f22d8ee2ebf300..b0aabf37095ef986b35b726d02700f55d017f78b 100644 (file)
@@ -70,6 +70,7 @@ def ask_google(cmd: str, *, recognize_speech=True) -> GoogleResponse:
     audio_transcription: Optional[str] = ""
     if r.status_code == 200:
         j = r.json()
+        logger.debug(j)
         success = bool(j["success"])
         response = j["response"] if success else j["error"]
         if success: