From 034b1330d4689885b34197f474874af18d340fc3 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Tue, 9 Aug 2022 10:48:18 +0200 Subject: [PATCH] Don't process a watch if it was paused after being queued (#825) --- changedetectionio/update_worker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changedetectionio/update_worker.py b/changedetectionio/update_worker.py index 484c9a73..f9cd61de 100644 --- a/changedetectionio/update_worker.py +++ b/changedetectionio/update_worker.py @@ -122,7 +122,7 @@ class update_worker(threading.Thread): else: self.current_uuid = uuid - if uuid in list(self.datastore.data['watching'].keys()): + if uuid in list(self.datastore.data['watching'].keys()) and not self.datastore.data['watching'][uuid].get('paused'): changed_detected = False contents = b'' screenshot = False