diff --git a/mesh_bot.py b/mesh_bot.py index 32efd1c..8477bc4 100755 --- a/mesh_bot.py +++ b/mesh_bot.py @@ -79,7 +79,7 @@ def handle_ping(message, hop, snr, rssi): else: return "🏓PONG, " + hop -def handle_motd(message, message_from_id): +def handle_motd(message, deviceID): global MOTD if "$" in message and str(deviceID) in bbs_admin_list: motd = message.split("$")[1]