fix(rcf): access error

This commit is contained in:
Swann Martinez 2019-04-11 18:27:17 +02:00
parent 249a1cee1a
commit 6c565c089f
No known key found for this signature in database
GPG Key ID: 414CCAFD8DA720E1
2 changed files with 3 additions and 3 deletions

View File

@ -253,8 +253,8 @@ def rcf_client_agent(ctx, pipe,queue):
rcfmsg.store(agent.property_map)
elif agent.state == State.ACTIVE:
if rcfmsg.id != agent.id:
update_queue.put((rcfmsg.key,rcfmsg.body))
# helpers.load(rcfmsg.key,rcfmsg.body)
# update_queue.put((rcfmsg.key,rcfmsg.body))
helpers.load(rcfmsg.key,rcfmsg.body)
# logger.info("load")
# agent.serial.send_multipart([b"LOAD", umsgpack.packb(rcfmsg.key), umsgpack.packb(rcfmsg.body)])

View File

@ -324,7 +324,7 @@ class Loader:
(_load_filter_type(T.PointerProperty), self._load_pointer),
(_load_filter_array, self._load_array),
(_load_filter_type(T.CollectionProperty), self._load_collection),
(_load_filter_default, self._load_default)
# (_load_filter_default, self._load_default)
]