diff --git a/frappy_psi/sea.py b/frappy_psi/sea.py index 6922fad..f8a8f9e 100644 --- a/frappy_psi/sea.py +++ b/frappy_psi/sea.py @@ -124,7 +124,7 @@ class SeaClient(ProxyClient, Module): self.objects = set() self.shutdown = False self.path2param = {} - self._write_lock = threading.Lock() + self._write_lock = threading.RLock() self._connect_thread = None self._connected = threading.Event() config = opts.get('config') @@ -609,7 +609,8 @@ class SeaModule(Module): return reply rfunc.poll = False - attributes['read_' + key] = rfunc + if key != 'status': + attributes['read_' + key] = rfunc if not readonly: