diff --git a/slic/core/scanner/scanbackend.py b/slic/core/scanner/scanbackend.py index f222f97a..9dba65cf 100644 --- a/slic/core/scanner/scanbackend.py +++ b/slic/core/scanner/scanbackend.py @@ -137,11 +137,8 @@ class ScanBackend: def do_checked_step(self, *args, **kwargs): - while True: - self.condition.get_ready() + while self.condition.wants_repeat(): self.do_step(*args, **kwargs) - if self.condition.is_happy(): - break def do_step(self, n_step, step_values, step_info=None):