mirror of
https://github.com/meshcore-dev/meshcore-cli.git
synced 2026-04-20 22:13:48 +00:00
revert ensure_contacts
This commit is contained in:
parent
5a2cf3469d
commit
7cf903280b
2 changed files with 3 additions and 4 deletions
|
|
@ -23,7 +23,7 @@ from prompt_toolkit.shortcuts import radiolist_dialog
|
|||
from meshcore import MeshCore, EventType, logger
|
||||
|
||||
# Version
|
||||
VERSION = "v1.1.30"
|
||||
VERSION = "v1.1.31"
|
||||
|
||||
# default ble address is stored in a config file
|
||||
MCCLI_CONFIG_DIR = str(Path.home()) + "/.config/meshcore/"
|
||||
|
|
@ -1862,7 +1862,6 @@ 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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue