From b87ef5b01c3080c905b99f6bfdf601a90a6bc5fd Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Wed, 29 Apr 2026 19:34:19 +1000 Subject: [PATCH] Mutation hazard --- changedetectionio/api/Watch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changedetectionio/api/Watch.py b/changedetectionio/api/Watch.py index cb016868..5635fbd2 100644 --- a/changedetectionio/api/Watch.py +++ b/changedetectionio/api/Watch.py @@ -120,7 +120,7 @@ class Watch(Resource): for tag_uuid in (watch_obj.get('tags') or []): tag = tags.get(tag_uuid, {}) if tag.get('overrides_watch'): - restock_config = tag.get('processor_config_restock_diff') or {} + restock_config = dict(tag.get('processor_config_restock_diff') or {}) restock_source = f'tag:{tag_uuid}' break watch['processor_config_restock_diff'] = restock_config