mirror of
https://github.com/meshcore-dev/meshcore-cli.git
synced 2026-04-20 22:13:48 +00:00
bad cast in ch cmd
This commit is contained in:
parent
04614e9c49
commit
0060fd5af3
2 changed files with 2 additions and 2 deletions
|
|
@ -96,7 +96,7 @@ async def next_cmd(mc, cmds):
|
|||
cmds[2]))
|
||||
case "chan_msg"|"ch" :
|
||||
argnum = 2
|
||||
print(await mc.send_chan_msg(cmds[1], cmds[2]))
|
||||
print(await mc.send_chan_msg(int(cmds[1]), cmds[2]))
|
||||
case "def_chan_msg"|"def_chan"|"dch" : # default chan
|
||||
argnum = 1
|
||||
print(await mc.send_chan_msg(0, cmds[1]))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue