mirror of
https://github.com/meshcore-dev/meshcore-cli.git
synced 2026-04-20 22:13:48 +00:00
logout issue ...
This commit is contained in:
parent
637d28e1ad
commit
74bc29e61f
1 changed files with 1 additions and 1 deletions
|
|
@ -558,7 +558,7 @@ async def next_cmd(mc, cmds, json_output=False):
|
||||||
argnum = 1
|
argnum = 1
|
||||||
await mc.ensure_contacts()
|
await mc.ensure_contacts()
|
||||||
contact = mc.get_contact_by_name(cmds[1])
|
contact = mc.get_contact_by_name(cmds[1])
|
||||||
res = await mc.send_logout(contact)
|
res = await mc.commands.send_logout(contact)
|
||||||
logger.debug(res)
|
logger.debug(res)
|
||||||
if res.type == EventType.ERROR:
|
if res.type == EventType.ERROR:
|
||||||
print(f"Error while logout: {res}")
|
print(f"Error while logout: {res}")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue