diff --git a/platypush/message/event/assistant/__init__.py b/platypush/message/event/assistant/__init__.py index 942e2c1ea..309cb910b 100644 --- a/platypush/message/event/assistant/__init__.py +++ b/platypush/message/event/assistant/__init__.py @@ -19,14 +19,12 @@ class AssistantEvent(Event): """ assistant = assistant or kwargs.get('assistant') if assistant: - assistant = ( + kwargs['plugin'] = kwargs['_assistant'] = ( assistant if isinstance(assistant, str) else get_plugin_name_by_class(assistant.__class__) ) - kwargs['_assistant'] = assistant - super().__init__(*args, **kwargs) @property