From a24551b1949b86a51d6772dbdfd14a6ce445c520 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Sun, 19 Mar 2023 20:22:19 +0100 Subject: [PATCH] join --- changedetectionio/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/changedetectionio/__init__.py b/changedetectionio/__init__.py index ccae111d1..23ea2dce9 100644 --- a/changedetectionio/__init__.py +++ b/changedetectionio/__init__.py @@ -950,12 +950,12 @@ def changedetection_app(config=None, datastore_o=None): ignore_rules = watch.get('ignore_text', []) + datastore.data['settings']['application']['global_ignore_text'] # .readlines will keep the \n, but we will parse it here again, in the future tidy this up - ignored_line_numbers = html_tools.strip_ignore_text(content="".join(tmp), + ignored_line_numbers = html_tools.strip_ignore_text(content="\n".join(tmp), wordlist=ignore_rules, mode='line numbers' ) - trigger_line_numbers = html_tools.strip_ignore_text(content="".join(tmp), + trigger_line_numbers = html_tools.strip_ignore_text(content="\n".join(tmp), wordlist=watch['trigger_text'], mode='line numbers' )