From 402baee48e225a6a2f59340767c6a0d7c7c2f1ca Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Fri, 12 Jul 2019 00:56:18 +0200 Subject: [PATCH] typo --- platypush/plugins/assistant/google/lib/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platypush/plugins/assistant/google/lib/__init__.py b/platypush/plugins/assistant/google/lib/__init__.py index 053290ab5..4962467cf 100644 --- a/platypush/plugins/assistant/google/lib/__init__.py +++ b/platypush/plugins/assistant/google/lib/__init__.py @@ -138,7 +138,7 @@ class SampleAssistant(object): if resp.speech_results: self.detected_speech = ' '.join( r.transcript.strip() for r in resp.speech_results - if len(r).strip()).strip() + if len(r.transcript.strip())).strip() logging.info('Transcript of user request: "%s".', self.detected_speech) if len(resp.audio_out.audio_data) > 0: