From 20ca581088347a3d58da0291cf4aaa12b40ae405 Mon Sep 17 00:00:00 2001 From: jkerdreux-imt <jerome.kerdreux@imt-atlantique.fr> Date: Tue, 26 Nov 2024 01:04:47 +0100 Subject: [PATCH] Fix the new corrected bug Oups, I did it again !! --- libs/lib/xaal/lib/engine.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libs/lib/xaal/lib/engine.py b/libs/lib/xaal/lib/engine.py index 90bd90bb..af3ec03a 100644 --- a/libs/lib/xaal/lib/engine.py +++ b/libs/lib/xaal/lib/engine.py @@ -28,7 +28,6 @@ from typing import Any, Optional from . import config, core from .exceptions import CallbackError, MessageParserError, XAALError from .network import NetworkConnector -from .messages import MessageAction if typing.TYPE_CHECKING: from .devices import Device @@ -119,7 +118,7 @@ class Engine(core.EngineMixin): targets = core.filter_msg_for_devices(msg, self.devices) for target in targets: - if msg.action == MessageAction.IS_ALIVE: + if msg.is_request_isalive(): self.send_alive(target) else: self.handle_action_request(msg, target) -- GitLab