From bdd41c0434d3ea6013724bbca0b0cb139b32610d Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Mon, 12 Aug 2024 02:54:32 -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 f904aa0..bf30a9a 100755 --- a/mesh_bot.py +++ b/mesh_bot.py @@ -45,7 +45,7 @@ def auto_response(message, snr, rssi, hop, message_from_id, channel_number, devi cmds = [] # list to hold the commands found in the message for key in command_handler: if key in message_lower: - cmds.append({'key', key, 'index', message_lower.index(key)}) + cmds.append({'key': key, 'index': message_lower.index(key)}) if len(cmds) > 0: # sort the commands by index