Synching changes to Policytree
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user