diff --git a/hostapps/run.py b/hostapps/run.py index 4d881b7..5f3677e 100644 --- a/hostapps/run.py +++ b/hostapps/run.py @@ -67,7 +67,7 @@ def main( telnet_command: str, config: pathlib.Path, ): - entry = Entry.validate_model_json(config.read_bytes()) + entry = Entry.model_validate_json(config.read_bytes()) a = pyansi.ANSI() sys.stdout.write(a.Title(text=f"{entry.name} - {entry.address}"))