[WIP] fix disconencted info
This commit is contained in:
@ -646,7 +646,7 @@ class FrappyNode(SecNodeDevice, Moveable):
|
|||||||
def get_info(self):
|
def get_info(self):
|
||||||
result = self.doRead() or ''
|
result = self.doRead() or ''
|
||||||
code, text = self.status()
|
code, text = self.status()
|
||||||
if not result and self.target:
|
if not result and self.target and self._secnode:
|
||||||
return '<disconnected>'
|
return '<disconnected>'
|
||||||
if code == status.OK or result == '':
|
if code == status.OK or result == '':
|
||||||
return result
|
return result
|
||||||
|
Reference in New Issue
Block a user