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