Skip to content

Commit

Permalink
Return calibration runnning if retrying
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Aug 28, 2024
1 parent 56d98c6 commit 0a27391
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gort/overwatcher/calibration.py
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ def is_calibration_running(self):
"""Returns ``True`` if a calibration is currently running."""

for cal in self.schedule.calibrations:
if cal.state == CalibrationState.RUNNING:
if cal.state in [CalibrationState.RUNNING, CalibrationState.RETRYING]:
return True

return False
Expand Down

0 comments on commit 0a27391

Please sign in to comment.