mirror of
https://github.com/meshcore-dev/meshcore-cli.git
synced 2026-04-20 22:13:48 +00:00
Merge pull request #37 from samm-git/patch-1
Fix function name for getting contact from args
This commit is contained in:
commit
92af5f7479
1 changed files with 1 additions and 1 deletions
|
|
@ -2696,7 +2696,7 @@ async def next_cmd(mc, cmds, json_output=False):
|
|||
|
||||
case "contact_timeout" :
|
||||
argnum = 2
|
||||
contact = await get_contact_from_args(mc, cmds[1])
|
||||
contact = await get_contact_from_arg(mc, cmds[1])
|
||||
if contact is None:
|
||||
if json_output :
|
||||
print(json.dumps({"error" : "unknown contact"}))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue