Invert View.is_finished condition when there is no associated Future

This commit is contained in:
Rapptz
2026-01-28 16:58:55 -05:00
parent c8b95774cb
commit 3ab09be13c

View File

@@ -622,7 +622,7 @@ class BaseView:
def is_finished(self) -> bool: def is_finished(self) -> bool:
""":class:`bool`: Whether the view has finished interacting.""" """:class:`bool`: Whether the view has finished interacting."""
if self.__stopped is None: if self.__stopped is None:
return True return False
return self.__stopped.done() return self.__stopped.done()