From 5a2cf3469dd7f2f114156efc11557627944f2882 Mon Sep 17 00:00:00 2001 From: Florent Date: Sun, 19 Oct 2025 19:18:23 +0200 Subject: [PATCH] forgot to update reload_contacts --- pyproject.toml | 2 +- src/meshcore_cli/meshcore_cli.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 7b0c5b3..7ff375c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "meshcore-cli" -version = "1.1.29" +version = "1.1.30" authors = [ { name="Florent de Lamotte", email="florent@frizoncorrea.fr" }, ] diff --git a/src/meshcore_cli/meshcore_cli.py b/src/meshcore_cli/meshcore_cli.py index bedbd15..694a420 100644 --- a/src/meshcore_cli/meshcore_cli.py +++ b/src/meshcore_cli/meshcore_cli.py @@ -23,7 +23,7 @@ from prompt_toolkit.shortcuts import radiolist_dialog from meshcore import MeshCore, EventType, logger # Version -VERSION = "v1.1.29" +VERSION = "v1.1.30" # default ble address is stored in a config file MCCLI_CONFIG_DIR = str(Path.home()) + "/.config/meshcore/" @@ -1862,6 +1862,7 @@ async def next_cmd(mc, cmds, json_output=False): case "reload_contacts" | "rc": await mc.commands.get_contacts() + await mc.wait_for_event(EventType.CONTACTS, timeout=30) res = mc.contacts if json_output : print(json.dumps(res, indent=4))