From c6054f4ac965405700e59d06e72d0896b778c1ab Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Fri, 8 Jun 2018 17:17:08 +0200 Subject: [PATCH] Typos --- platypush/backend/assistant/google/pushtotalk.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platypush/backend/assistant/google/pushtotalk.py b/platypush/backend/assistant/google/pushtotalk.py index a054a13f28..b88eeb12ec 100644 --- a/platypush/backend/assistant/google/pushtotalk.py +++ b/platypush/backend/assistant/google/pushtotalk.py @@ -64,6 +64,7 @@ class AssistantGooglePushtotalkBackend(Backend): self.credentials_file = credentials_file self.device_config = device_config self.conversation_start_fifo = conversation_start_fifo + self.assistant = None try: os.mkfifo(self.conversation_start_fifo) @@ -197,7 +198,7 @@ class SampleAssistant(object): self.device_model_id = device_model_id self.device_id = device_id self.conversation_stream = conversation_stream - self.logger = logging.get(__name__) + self.logger = logging.getLogger(__name__) self.on_conversation_start = on_conversation_start self.on_conversation_end = on_conversation_end