mirror of
https://github.com/dgtlmoon/changedetection.io.git
synced 2025-12-07 08:35:33 +00:00
Bugfix - dont update record when deleted during check
This commit is contained in:
@@ -145,6 +145,10 @@ class ChangeDetectionStore:
|
||||
|
||||
def update_watch(self, uuid, update_obj):
|
||||
|
||||
# It's possible that the watch could be deleted before update
|
||||
if not self.__data['watching'].get(uuid):
|
||||
return
|
||||
|
||||
with self.lock:
|
||||
|
||||
# In python 3.9 we have the |= dict operator, but that still will lose data on nested structures...
|
||||
|
||||
Reference in New Issue
Block a user