From 6c565c089f5ce6f52f2a74fb9a347f74621e17bf Mon Sep 17 00:00:00 2001 From: Swann Martinez Date: Thu, 11 Apr 2019 18:27:17 +0200 Subject: [PATCH] fix(rcf): access error --- client.py | 4 ++-- libs/dump_anything.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client.py b/client.py index 33ddbc8..f127f5a 100644 --- a/client.py +++ b/client.py @@ -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)]) diff --git a/libs/dump_anything.py b/libs/dump_anything.py index 1bd835b..80c3517 100644 --- a/libs/dump_anything.py +++ b/libs/dump_anything.py @@ -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) ]