From 126852b7782c0211609f2bec3284d125c4fe65c5 Mon Sep 17 00:00:00 2001 From: Christian Arnold Date: Fri, 5 Jan 2024 11:15:22 +0100 Subject: [PATCH] Browser Steps - Fix for correct tokens/information in browser step failure notification (#2066) --- changedetectionio/update_worker.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/changedetectionio/update_worker.py b/changedetectionio/update_worker.py index 9b9c833b..b94913fa 100644 --- a/changedetectionio/update_worker.py +++ b/changedetectionio/update_worker.py @@ -188,9 +188,9 @@ class update_worker(threading.Thread): return threshold = self.datastore.data['settings']['application'].get('filter_failure_notification_threshold_attempts') n_object = {'notification_title': "Changedetection.io - Alert - Browser step at position {} could not be run".format(step_n+1), - 'notification_body': "Your configured browser step at position {} for {{watch['url']}} " + 'notification_body': "Your configured browser step at position {} for {{{{watch_url}}}} " "did not appear on the page after {} attempts, did the page change layout? " - "Does it need a delay added?\n\nLink: {{base_url}}/edit/{{watch_uuid}}\n\n" + "Does it need a delay added?\n\nLink: {{{{base_url}}}}/edit/{{{{watch_uuid}}}}\n\n" "Thanks - Your omniscient changedetection.io installation :)\n".format(step_n+1, threshold), 'notification_format': 'text'}