Skip to content

Commit 5a2cf34

Browse files
committed
forgot to update reload_contacts
1 parent d55cb1d commit 5a2cf34

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "meshcore-cli"
7-
version = "1.1.29"
7+
version = "1.1.30"
88
authors = [
99
{ name="Florent de Lamotte", email="[email protected]" },
1010
]

src/meshcore_cli/meshcore_cli.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
from meshcore import MeshCore, EventType, logger
2424

2525
# Version
26-
VERSION = "v1.1.29"
26+
VERSION = "v1.1.30"
2727

2828
# default ble address is stored in a config file
2929
MCCLI_CONFIG_DIR = str(Path.home()) + "/.config/meshcore/"
@@ -1862,6 +1862,7 @@ async def next_cmd(mc, cmds, json_output=False):
18621862

18631863
case "reload_contacts" | "rc":
18641864
await mc.commands.get_contacts()
1865+
await mc.wait_for_event(EventType.CONTACTS, timeout=30)
18651866
res = mc.contacts
18661867
if json_output :
18671868
print(json.dumps(res, indent=4))

0 commit comments

Comments
 (0)