Generic object sync should use private method

This commit is contained in:
Leigh Morresi
2021-03-01 15:32:59 +01:00
parent df96b8d76c
commit ff1b19cdb8
+1 -2
View File
@@ -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})