handle case where PV returns None
This commit is contained in:
@ -5,7 +5,7 @@ from slic.utils import as_shortcut
|
|||||||
|
|
||||||
class PVStringAdjustable(PVAdjustable):
|
class PVStringAdjustable(PVAdjustable):
|
||||||
def get_current_value(self):
|
def get_current_value(self):
|
||||||
return self.pvs.readback.get(as_string=True).strip()
|
return str(self.pvs.readback.get(as_string=True)).strip()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user