diff --git a/platypush/backend/assistant/google/__init__.py b/platypush/backend/assistant/google/__init__.py index 8236ab0a0..c5f85b193 100644 --- a/platypush/backend/assistant/google/__init__.py +++ b/platypush/backend/assistant/google/__init__.py @@ -104,7 +104,7 @@ class AssistantGoogleBackend(Backend): event.type == EventType.ON_RENDER_RESPONSE: self.bus.post(ResponseEvent(response_text=event.args.get('text'))) elif hasattr(EventType, 'ON_RESPONDING_STARTED') and \ - event.type == EventType.ON_RENDER_RESPONSE and \ + event.type == EventType.ON_RESPONDING_STARTED and \ event.args.get('is_error_response'): self.logger.warning('Assistant response error') self._has_error = True