Skip to content

Commit 0060fd5

Browse files
committed
bad cast in ch cmd
1 parent 04614e9 commit 0060fd5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "meshcore-cli"
7-
version = "0.3.3"
7+
version = "0.3.4"
88
authors = [
99
{ name="Florent de Lamotte", email="[email protected]" },
1010
]

src/meshcore_cli/meshcore_cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ async def next_cmd(mc, cmds):
9696
cmds[2]))
9797
case "chan_msg"|"ch" :
9898
argnum = 2
99-
print(await mc.send_chan_msg(cmds[1], cmds[2]))
99+
print(await mc.send_chan_msg(int(cmds[1]), cmds[2]))
100100
case "def_chan_msg"|"def_chan"|"dch" : # default chan
101101
argnum = 1
102102
print(await mc.send_chan_msg(0, cmds[1]))

0 commit comments

Comments
 (0)