diff --git a/scripts/config.php b/scripts/config.php index fc76879..d320313 100644 --- a/scripts/config.php +++ b/scripts/config.php @@ -542,7 +542,7 @@ https://discordapp.com/api/webhooks/{WebhookID}/{WebhookToken}

- +

diff --git a/scripts/utils/notifications.py b/scripts/utils/notifications.py index 7db08d4..2ef9251 100644 --- a/scripts/utils/notifications.py +++ b/scripts/utils/notifications.py @@ -49,7 +49,7 @@ def sendAppriseNotifications(species, confidence, path, date, time, week, latitu APPRISE_ONLY_NOTIFY_SPECIES_NAMES = settings_dict.get('APPRISE_ONLY_NOTIFY_SPECIES_NAMES') if APPRISE_ONLY_NOTIFY_SPECIES_NAMES is not None and APPRISE_ONLY_NOTIFY_SPECIES_NAMES.strip() != "": - if not any(bird.lower().replace(" ", "") in comName.lower().replace(" ", "") for bird in APPRISE_ONLY_NOTIFY_SPECIES_NAMES.split(",")): + if any(bird.lower().replace(" ", "") in comName.lower().replace(" ", "") for bird in APPRISE_ONLY_NOTIFY_SPECIES_NAMES.split(",")): return APPRISE_MINIMUM_SECONDS_BETWEEN_NOTIFICATIONS_PER_SPECIES = settings_dict.get('APPRISE_MINIMUM_SECONDS_BETWEEN_NOTIFICATIONS_PER_SPECIES')