Skip to content

Commit 7cf9032

Browse files
committed
revert ensure_contacts
1 parent 5a2cf34 commit 7cf9032

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

pyproject.toml

Lines changed: 2 additions & 2 deletions
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.30"
7+
version = "1.1.31"
88
authors = [
99
{ name="Florent de Lamotte", email="[email protected]" },
1010
]
@@ -17,7 +17,7 @@ classifiers = [
1717
]
1818
license = "MIT"
1919
license-files = ["LICEN[CS]E*"]
20-
dependencies = [ "meshcore >= 2.1.11", "prompt_toolkit >= 3.0.50", "requests >= 2.28.0" ]
20+
dependencies = [ "meshcore >= 2.1.12", "prompt_toolkit >= 3.0.50", "requests >= 2.28.0" ]
2121

2222
[project.urls]
2323
Homepage = "https://github.com/fdlamotte/meshcore-cli"

src/meshcore_cli/meshcore_cli.py

Lines changed: 1 addition & 2 deletions
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.30"
26+
VERSION = "v1.1.31"
2727

2828
# default ble address is stored in a config file
2929
MCCLI_CONFIG_DIR = str(Path.home()) + "/.config/meshcore/"
@@ -1862,7 +1862,6 @@ 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)
18661865
res = mc.contacts
18671866
if json_output :
18681867
print(json.dumps(res, indent=4))

0 commit comments

Comments
 (0)