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
|
|
@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|||
|
||||
[project]
|
||||
name = "meshcore-cli"
|
||||
version = "0.3.3"
|
||||
version = "0.3.4"
|
||||
authors = [
|
||||
{ name="Florent de Lamotte", email="florent@frizoncorrea.fr" },
|
||||
]
|
||||
|
|
|
|||
|
|
@ -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