This commit is contained in:
Jeffrey C. Ollie 2023-10-30 17:17:09 -05:00
parent fb88ac5c2c
commit 3365ff9dfc
Signed by: jeff
GPG key ID: 6F86035A6D97044E

View file

@ -67,7 +67,7 @@ def main(
telnet_command: str, telnet_command: str,
config: pathlib.Path, config: pathlib.Path,
): ):
entry = Entry.validate_model_json(config.read_bytes()) entry = Entry.model_validate_json(config.read_bytes())
a = pyansi.ANSI() a = pyansi.ANSI()
sys.stdout.write(a.Title(text=f"{entry.name} - {entry.address}")) sys.stdout.write(a.Title(text=f"{entry.name} - {entry.address}"))