Synching changes to Policytree

This commit is contained in:
2025-11-07 15:44:11 -05:00
parent 8a9b04cb7c
commit ed07c79b74
2 changed files with 73 additions and 49 deletions
+4 -5
View File
@@ -232,9 +232,8 @@ class OTPGenerator(Widget):
api = self.app.api
output_lines = [
"=" * 60,
"OTP GENERATION RESULTS",
"=" * 60,
"Requested OTP Codes:",
"=" * 25,
]
otp_dict = {}
@@ -250,9 +249,9 @@ class OTPGenerator(Widget):
)
for hostname, otp_code in otp_dict.items():
output_lines.append(f"{hostname:30} | {otp_code}")
output_lines.append(f"{hostname} | {otp_code}")
output_lines.append("=" * 60)
output_lines.append("=" * 25)
result_text = "\n".join(output_lines)
self._show_result(result_text)