From 3365ff9dfc6f5d499fb4fbfe5cb4354c04d63ac8 Mon Sep 17 00:00:00 2001 From: "Jeffrey C. Ollie" Date: Mon, 30 Oct 2023 17:17:09 -0500 Subject: [PATCH] update --- hostapps/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}"))