improved input request
This commit is contained in:
parent
ad53f3e9bb
commit
e939f2b934
@ -163,7 +163,7 @@ def pack_ploc_supv_commands(
|
||||
tc_queue.appendleft(
|
||||
(QueueCommands.PRINT, "PLOC Supervisor: Set max restart tries: ")
|
||||
)
|
||||
restart_tries = int(input("Set maximum restart tries:"))
|
||||
restart_tries = int(input("Set maximum restart tries: "))
|
||||
command = (
|
||||
object_id
|
||||
+ struct.pack("!I", SupvActionIds.SET_MAX_RESTART_TRIES)
|
||||
@ -583,7 +583,7 @@ def get_latchup_id() -> int:
|
||||
key_string = key.ljust(key_column_width)
|
||||
description_string = latchup_id_dict[key].ljust(description_column_width)
|
||||
print(f"{key_string} | {description_string}")
|
||||
return int(input("Specify latchup ID:"))
|
||||
return int(input("Specify latchup ID: "))
|
||||
|
||||
|
||||
def pack_set_alert_limit_cmd(object_id: bytearray) -> bytearray:
|
||||
|
Loading…
Reference in New Issue
Block a user