diff --git a/mesh_bot.py b/mesh_bot.py index 8efcb79..cde9cc5 100755 --- a/mesh_bot.py +++ b/mesh_bot.py @@ -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