Update mesh_bot.py

This commit is contained in:
SpudGunMan
2024-12-12 23:49:44 -08:00
parent e06b2a3581
commit 743b0ab10b
+2 -1
View File
@@ -295,9 +295,10 @@ def handle_satpass(message_from_id, deviceID, channel_number, message):
location = get_node_location(message_from_id, deviceID)
passes = ''
satList = satListConfig
message = message.lower()
# if user has a NORAD ID in the message
if "satpass " in message.lower():
if "satpass " in message:
try:
userList = message.split("satpass ")[1].split(" ")[0]
#split userList and make into satList overrided the config.ini satList