From 38186bfe48f9628e009326a44831d3e0d71849fd Mon Sep 17 00:00:00 2001 From: Etienne Pallier Date: Fri, 25 Nov 2022 13:50:01 +0100 Subject: [PATCH] update agentSST for test mode --- src/core/pyros_django/agent/Agent.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/pyros_django/agent/Agent.py b/src/core/pyros_django/agent/Agent.py index 506918e..fc1bb0c 100755 --- a/src/core/pyros_django/agent/Agent.py +++ b/src/core/pyros_django/agent/Agent.py @@ -3100,10 +3100,10 @@ class Agent: log.info("(TEST mode) Trying to send a new command if possible...") cmdts = self.__TEST_get_next_command_to_send() + # No more command to send (from simulator) => return and EXIT if cmdts is None : - if not self.get_received_pending_commands().exists(): - self.DO_MAIN_LOOP = False + ###if not self.get_received_pending_commands().exists(): self.DO_MAIN_LOOP = False return log.info("TTT") -- libgit2 0.21.2