# HG changeset patch # User Goffi # Date 1517298232 -3600 # Node ID 031aa3cc67ac1899ceeac3e66b5a750b7efa0286 # Parent 512c443a58bacaa43c3c09b1d505a3369ec600b1 jp (base): fixed assertion error when using CommandAnswering diff -r 512c443a58ba -r 031aa3cc67ac frontends/src/jp/base.py --- a/frontends/src/jp/base.py Tue Jan 30 08:17:17 2018 +0100 +++ b/frontends/src/jp/base.py Tue Jan 30 08:43:52 2018 +0100 @@ -874,6 +874,10 @@ # 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