Skip to content

Commit

Permalink
TMP: patch over issue 565 temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
klauer committed Aug 14, 2023
1 parent ac43191 commit 4f102df
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion typhos/positioner.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4f102df

Please sign in to comment.