fix encoder bug
This commit is contained in:
parent
0c83418c19
commit
b4239c3c74
@ -133,9 +133,9 @@ class Device(Node):
|
||||
|
||||
def get_seq_meta_name(self):
|
||||
rb = self.device_cmd(DeviceCmd.GetName)
|
||||
if rb != b'' and rb is not None:
|
||||
name = rb.decode()
|
||||
self.seq_meta = RfSequenceMeta.from_name(name)
|
||||
if rb != b'':
|
||||
self.send(SeqMetaMsg('live', name))
|
||||
|
||||
def get_connection(self):
|
||||
|
||||
@ -60,7 +60,7 @@ class Node:
|
||||
|
||||
self.context = zmq.Context()
|
||||
if self.enable_init:
|
||||
self.c = BusClient(*([KillMsg,InterruptMsg, Msg1, Msg2] + self.topics),
|
||||
self.c = BusClient(*([KillMsg, Msg1, Msg2] + self.topics),
|
||||
poller=True, conflare=self.conflare, req_socket_str=self.req)
|
||||
|
||||
def __call__(self, *args, **kwargs):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user