From b47d24e35a2d1dacefac48382f995596b89e7ac5 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Thu, 4 Jul 2024 14:37:30 +0200 Subject: [PATCH] Re #2456 - adding update --- changedetectionio/store.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/changedetectionio/store.py b/changedetectionio/store.py index d4a6cb0f0..284f37672 100644 --- a/changedetectionio/store.py +++ b/changedetectionio/store.py @@ -843,3 +843,8 @@ class ChangeDetectionStore: # Something custom here self.__data["watching"][uuid]['time_between_check_use_default'] = False + # Correctly set datatype for older installs where 'tag' was string and update_12 did not catch it + def update_16(self): + for uuid, watch in self.data['watching'].items(): + if isinstance(watch.get('tags'), str): + self.data['watching'][uuid]['tags'] = []