diff --git a/src/python_spectrometer/daq/simulator.py b/src/python_spectrometer/daq/simulator.py index fbbabd01fb596fdbbd4bf9ad377052c646d50284..09cd446898626f4c4d05240506165d9307c98601 100644 --- a/src/python_spectrometer/daq/simulator.py +++ b/src/python_spectrometer/daq/simulator.py @@ -51,7 +51,7 @@ def with_delay(meth): """Wraps an acquisition generator to accept the *delay* kwarg.""" @wraps(meth) - def wrapped(self, *, delay: bool | float = False, **settings): + def wrapped(self, *, delay=True, **settings): skip_wait = getattr(wrapped, '__with_delay', False) if delay is True: