From 32ea93cb88d4e42db3b81dfd4da138db956fb92c Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Thu, 26 Sep 2024 22:11:42 -0700 Subject: [PATCH] Update mesh_bot.py --- mesh_bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesh_bot.py b/mesh_bot.py index cc9cd11..dfd3894 100755 --- a/mesh_bot.py +++ b/mesh_bot.py @@ -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)