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"):