update
This commit is contained in:
parent
fb88ac5c2c
commit
3365ff9dfc
1 changed files with 1 additions and 1 deletions
|
@ -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}"))
|
||||||
|
|
Loading…
Reference in a new issue