Skip to content

Commit

Permalink
WIP: patch over issue 565
Browse files Browse the repository at this point in the history
  • Loading branch information
klauer committed Aug 9, 2023
1 parent 3058673 commit 02710c5
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 @@ -314,7 +314,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 02710c5

Please sign in to comment.