diff --git a/secop/poller.py b/secop/poller.py index 0a7de8e..5a4c3b4 100644 --- a/secop/poller.py +++ b/secop/poller.py @@ -227,9 +227,10 @@ class Poller(PollerBase): (where n is the number of regular parameters). """ if not self: - # nothing to do (else we might call time.sleep(float('inf')) below + # nothing to do (else time.sleep(float('inf')) might be called below started_callback() return + # if writeInitParams is not yet done, we do it here for module in self.modules: module.writeInitParams() # do all polls once and, at the same time, insert due info