From ff1b19cdb8fb72de86c922580d6c969310b7b381 Mon Sep 17 00:00:00 2001 From: Leigh Morresi <275001+dgtlmoon@users.noreply.github.com> Date: Mon, 1 Mar 2021 15:32:59 +0100 Subject: [PATCH] Generic object sync should use private method --- backend/store.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/backend/store.py b/backend/store.py index 34d953bf..499f2bce 100644 --- a/backend/store.py +++ b/backend/store.py @@ -82,8 +82,7 @@ class ChangeDetectionStore: # Reinitialise each `watching` with our generic_definition in the case that we add a new var in the future. # @todo pretty sure theres a python we todo this with an abstracted(?) object! - - for uuid, watch in self.data['watching'].items(): + for uuid, watch in self.__data['watching'].items(): _blank = deepcopy(self.generic_definition) _blank.update(watch) self.__data['watching'].update({uuid: _blank})