TUI Upgrade

This commit is contained in:
2025-11-03 10:29:13 -05:00
parent b3f48eb4df
commit 5aa0b5a88b
3 changed files with 448 additions and 189 deletions
+2 -1
View File
@@ -53,8 +53,9 @@ def otp_generate(api: AirlockAPIWrapper):
if duration_selected is not None:
for agent in agents:
logging.info(f"Querying API for {agent.hostname}")
otp_code = api.otp_generate(agent.agentid, duration_selected, purpose)
logger.info(f"Generated OTP for {agent.hostname}: {otp_code}")
logger.debug(f"Generated OTP for {agent.hostname}: {otp_code}")
otp_dict[agent.hostname] = otp_code
print(colorText("Requested Codes:", "green"))