diff --git a/base.py b/base.py index af93f43..51208b4 100644 --- a/base.py +++ b/base.py @@ -60,10 +60,10 @@ class Client(HandlerBase): if node is None: def change_callback(dictionary=self.dictionary, kind_uri=(kind, uri)): + # do not keep changed nodes in dict dictionary.pop(kind_uri, None) node = server.interactor_classes[kind](uri, self.node_map, change_callback) - self.dictionary[kind, uri] = node else: node.update_node_map(self.node_map)