Skip to content
Snippets Groups Projects
Commit 775f2c49 authored by KERDREUX Jerome's avatar KERDREUX Jerome
Browse files

Remove the same optimisation in AsyncEngine

parent 20ca5810
Branches
No related tags found
1 merge request!1First try of type hints
...@@ -157,7 +157,7 @@ class AsyncEngine(core.EngineMixin): ...@@ -157,7 +157,7 @@ class AsyncEngine(core.EngineMixin):
return return
targets = core.filter_msg_for_devices(msg, self.devices) targets = core.filter_msg_for_devices(msg, self.devices)
for target in targets: for target in targets:
if msg.action == "is_alive": if msg.is_request_isalive():
self.send_alive(target) self.send_alive(target)
else: else:
self.new_task(self.handle_action_request(msg, target)) self.new_task(self.handle_action_request(msg, target))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment