From 9ab577462de92aa03c84c7c416631388867ef33c Mon Sep 17 00:00:00 2001 From: Goffi Date: Tue, 30 Jan 2018 08:43:52 +0100 Subject: [PATCH] jp (base): fixed assertion error when using CommandAnswering --- frontends/src/jp/base.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontends/src/jp/base.py b/frontends/src/jp/base.py index 5eba1eba..c1a99e86 100644 --- a/frontends/src/jp/base.py +++ b/frontends/src/jp/base.py @@ -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