From e95e5047fd1a755f7cb3cf335cbfe7ed327518eb Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Mon, 8 Aug 2022 20:04:13 +0200 Subject: [PATCH] Don't process a watch if it was paused AFTER being queued --- 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..3a59609a 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 not self.datastore.data['watching'][uuid].get('paused'): changed_detected = False contents = b'' screenshot = False