Fixed error that was breaking Move agents

This was sending only the first char of the string.
This commit is contained in:
2025-10-16 16:49:35 -04:00
parent fa0c18ee02
commit 5343b27533
+1 -1
View File
@@ -80,7 +80,7 @@ def menu_main(api: AirlockAPIWrapper):
confirm = Selector.confirm()
if direction and devices and confirm:
for device in devices:
moveAgentToRelatedPolicy(api,device, direction[0])
moveAgentToRelatedPolicy(api,device, direction)
elif choice == "4":
findAgents(api,False)
elif choice == "5":