From c3873996e46abda2a65b5bc8a47e4092f2c0f27c Mon Sep 17 00:00:00 2001 From: Alexis Koralewski Date: Mon, 22 May 2023 12:05:53 +0200 Subject: [PATCH] Fix start command for Agent starting with uppercase A --- pyros.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyros.py b/pyros.py index 4fa1e08..56db274 100755 --- a/pyros.py +++ b/pyros.py @@ -937,7 +937,7 @@ def start(agent: str, configfile: str, observatory: str, unit: str, computer_hos # if not test_mode(): execProcessFromVenv("start_agent.py " + agent_name + " " + configfile) # Agent "agentM", "agentA", "agentB", "agentX", ... - elif agent_name.startswith("agent"): + elif agent_name.startswith("agent") or agent_name.startswith("Agent"): # Run agent without actual commands sent to devices (FOR_REAL=False) # agentX.run(FOR_REAL=True) ''' -- libgit2 0.21.2