Update mesh_bot.py

This commit is contained in:
SpudGunMan
2024-09-26 22:11:42 -07:00
parent 22a2a64861
commit 32ea93cb88

View File

@@ -473,7 +473,7 @@ def handle_bbspost(message, message_from_id, deviceID):
elif "@" in message and not "example:" in message:
toNode = message.split("@")[1].split("#")[0]
toNode = toNode.rstrip()
if toNode.startswith("!") and len(toNode) == 8:
if toNode.startswith("!") and len(toNode) == 9:
# mesh !hex
try:
toNode = int(toNode.strip("!"),16)