mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-08-11 19:32:50 +02:00
Update mesh_bot.py
This commit is contained in:
+1
-1
@@ -473,7 +473,7 @@ def handle_bbspost(message, message_from_id, deviceID):
|
|||||||
elif "@" in message and not "example:" in message:
|
elif "@" in message and not "example:" in message:
|
||||||
toNode = message.split("@")[1].split("#")[0]
|
toNode = message.split("@")[1].split("#")[0]
|
||||||
toNode = toNode.rstrip()
|
toNode = toNode.rstrip()
|
||||||
if toNode.startswith("!") and len(toNode) == 8:
|
if toNode.startswith("!") and len(toNode) == 9:
|
||||||
# mesh !hex
|
# mesh !hex
|
||||||
try:
|
try:
|
||||||
toNode = int(toNode.strip("!"),16)
|
toNode = int(toNode.strip("!"),16)
|
||||||
|
|||||||
Reference in New Issue
Block a user