mirror of
https://github.com/meshcore-dev/meshcore-cli.git
synced 2026-04-20 22:13:48 +00:00
correct bat
This commit is contained in:
parent
486dfb1816
commit
0ee2fdb16a
1 changed files with 1 additions and 1 deletions
|
|
@ -415,7 +415,7 @@ async def next_cmd(mc, cmds, json_output=False):
|
|||
elif json_output :
|
||||
print(json.dumps(res.payload, indent=4))
|
||||
else:
|
||||
print(f"Battery level : {res.payload.level}")
|
||||
print(f"Battery level : {res.payload['level']}")
|
||||
|
||||
case "reboot" :
|
||||
res = await mc.commands.reboot()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue