fix bug with status (assign string to tuple)

This commit is contained in:
zolliker 2024-07-11 16:48:42 +02:00
parent 91a91d6483
commit ffe6f3cce0

View File

@ -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,7 +609,8 @@ class SeaModule(Module):
return reply return reply
rfunc.poll = False rfunc.poll = False
attributes['read_' + key] = rfunc if key != 'status':
attributes['read_' + key] = rfunc
if not readonly: if not readonly: