Commit c3873996e46abda2a65b5bc8a47e4092f2c0f27c

Authored by Alexis Koralewski
1 parent 2e7dcd98
Exists in dev

Fix start command for Agent starting with uppercase A

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
pyros.py
... ... @@ -937,7 +937,7 @@ def start(agent: str, configfile: str, observatory: str, unit: str, computer_hos
937 937 # if not test_mode(): execProcessFromVenv("start_agent.py " + agent_name + " " + configfile)
938 938  
939 939 # Agent "agentM", "agentA", "agentB", "agentX", ...
940   - elif agent_name.startswith("agent"):
  940 + elif agent_name.startswith("agent") or agent_name.startswith("Agent"):
941 941 # Run agent without actual commands sent to devices (FOR_REAL=False)
942 942 # agentX.run(FOR_REAL=True)
943 943 '''
... ...