From 21d8a9132fb777442d00b48bb75417a47e9fe99c Mon Sep 17 00:00:00 2001 From: jenz Date: Tue, 17 Feb 2026 11:24:06 +0100 Subject: [PATCH] not printing when empty --- stoat_map_notifications/python/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stoat_map_notifications/python/main.py b/stoat_map_notifications/python/main.py index 9666399..626862d 100644 --- a/stoat_map_notifications/python/main.py +++ b/stoat_map_notifications/python/main.py @@ -149,7 +149,7 @@ def send_post_notify_message_to_stoat(list_of_people_to_notify, infomap): #print('list_of_people_to_notify: ', list_of_people_to_notify) message = f"Map changed to: {infomap}\n\n" for people in list_of_people_to_notify: - if not people: continue + if not people or people == "[]": continue people = people.replace('["', '').replace('"]', '') message += f"<@{people}> " if not message.endswith("\n"):