fix bug with status (assign string to tuple)
This commit is contained in:
parent
91a91d6483
commit
ffe6f3cce0
@ -124,7 +124,7 @@ class SeaClient(ProxyClient, Module):
|
|||||||
self.objects = set()
|
self.objects = set()
|
||||||
self.shutdown = False
|
self.shutdown = False
|
||||||
self.path2param = {}
|
self.path2param = {}
|
||||||
self._write_lock = threading.Lock()
|
self._write_lock = threading.RLock()
|
||||||
self._connect_thread = None
|
self._connect_thread = None
|
||||||
self._connected = threading.Event()
|
self._connected = threading.Event()
|
||||||
config = opts.get('config')
|
config = opts.get('config')
|
||||||
@ -609,6 +609,7 @@ class SeaModule(Module):
|
|||||||
return reply
|
return reply
|
||||||
|
|
||||||
rfunc.poll = False
|
rfunc.poll = False
|
||||||
|
if key != 'status':
|
||||||
attributes['read_' + key] = rfunc
|
attributes['read_' + key] = rfunc
|
||||||
|
|
||||||
if not readonly:
|
if not readonly:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user