diff --git a/typhos/positioner.py b/typhos/positioner.py index 88af1f49..221164d6 100644 --- a/typhos/positioner.py +++ b/typhos/positioner.py @@ -316,7 +316,10 @@ def _link_limits_by_limits_attr(self): except Exception: ... else: - if low_limit < high_limit: + if low_limit is None or high_limit is None: + # TODO: a better fix? need to wait for connection? + ... + elif low_limit < high_limit: self.ui.low_limit.setText(str(low_limit)) self.ui.high_limit.setText(str(high_limit)) return