From 4f102df8713de661f50337ade3c43551bd2be37f Mon Sep 17 00:00:00 2001 From: Ken Lauer Date: Tue, 8 Aug 2023 14:09:14 -0700 Subject: [PATCH] TMP: patch over issue 565 temporarily --- typhos/positioner.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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