mirror of
https://github.com/meshcore-dev/meshcore-cli.git
synced 2026-04-20 22:13:48 +00:00
Fix function name for getting contact from args
This is required to make `contact_timeout` command working
This commit is contained in:
parent
e34d826391
commit
77502789bf
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