Update aioesphomeapi/_frame_helper/base.py

This commit is contained in:
J. Nick Koston 2023-11-27 22:59:45 -06:00 committed by GitHub
parent 36b765c5d7
commit 78854d897e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -66,7 +66,6 @@ class APIFrameHelper:
self._log_name = log_name
def _set_ready_future_exception(self, exc: Exception | type[Exception]) -> None:
"""Set the ready future to an exception."""
if not self.ready_future.done():
self.ready_future.set_exception(exc)