From 6bdcdfbaea7b817a09a492556164d3eea2313313 Mon Sep 17 00:00:00 2001 From: bwees Date: Sat, 30 Jul 2022 09:05:55 -0400 Subject: [PATCH] fixed replace bug in get_diff_types --- changedetectionio/model/Watch.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/changedetectionio/model/Watch.py b/changedetectionio/model/Watch.py index 7582da0a..85a993a4 100644 --- a/changedetectionio/model/Watch.py +++ b/changedetectionio/model/Watch.py @@ -238,6 +238,9 @@ class model(dict): diff_types["del"] = True elif tag == 'insert': diff_types["add"] = True + elif tag == 'replace': + diff_types["del"] = True + diff_types["add"] = True return diff_types