We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9fd11cf commit 410637eCopy full SHA for 410637e
1 file changed
src/zeroconf/_core.py
@@ -245,13 +245,7 @@ async def async_wait_for_start(self) -> None:
245
raise NotRunningException
246
assert self.engine.running_future is not None
247
await wait_future_or_timeout(self.engine.running_future, timeout=_STARTUP_TIMEOUT)
248
- if (
249
- not self.engine.running_future.done()
250
- or self.engine.running_future.cancelled()
251
- or self.engine.running_future.exception()
252
- or not self.engine.running_future.result()
253
- or self.done
254
- ):
+ if not self.started:
255
256
257
@property
0 commit comments