Skip to content
Snippets Groups Projects
Verified Commit 4a6bb70b authored by Tobias Hangleiter's avatar Tobias Hangleiter
Browse files

Default to True for delay

parent 13103f07
No related branches found
No related tags found
1 merge request!66Extend simulator module
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment