forked from Narcissus/pylibmeshctrl
Added mesh agent hex ID to agent server return value
This commit is contained in:
@@ -53,7 +53,7 @@ def add_agent():
|
||||
time.sleep(.1)
|
||||
else:
|
||||
raise Exception(f"Failed to start agent: {text}")
|
||||
return {"id": agent_id}
|
||||
return {"id": agent_id, "hex": agent_hex}
|
||||
|
||||
@api.route('/remove-agent/<agentid>', methods=['POST'])
|
||||
def remove_agent(agentid):
|
||||
|
||||
Reference in New Issue
Block a user