jp (base): fixed assertion error when using CommandAnswering

This commit is contained in:
Goffi 2018-01-30 08:43:52 +01:00
commit 9ab577462d

View file

@ -874,6 +874,10 @@ class CommandAnswering(CommandBase):
# which will manage the answer. profile filtering is
# already managed when callback is called
def __init__(self, *args, **kwargs):
super(CommandAnswering, self).__init__(*args, **kwargs)
self.need_loop = True
def onActionNew(self, action_data, action_id, security_limit, profile):
if profile != self.profile:
return