Fixed Printing of OTP Codes
This commit is contained in:
+3
-1
@@ -228,7 +228,9 @@ def menu_otp(api: AirlockAPIWrapper):
|
|||||||
|
|
||||||
if choice == "1":
|
if choice == "1":
|
||||||
otp_list = generate(api)
|
otp_list = generate(api)
|
||||||
print(colorText(otp_list,"green"))
|
print(colorText("Requested Codes:", "green"))
|
||||||
|
for key, value in otp_list.items():
|
||||||
|
print(colorText(f"{key} | {value}","green"))
|
||||||
elif choice == "2":
|
elif choice == "2":
|
||||||
otp_activities_by_agent(api)
|
otp_activities_by_agent(api)
|
||||||
elif choice == "3":
|
elif choice == "3":
|
||||||
|
|||||||
Reference in New Issue
Block a user