docstring

This commit is contained in:
Will McGugan
2022-04-08 15:43:43 +01:00
parent 2b48f30aae
commit ada31e68de

View File

@@ -475,6 +475,7 @@ class App(DOMNode):
self.log_file.close() self.log_file.close()
async def on_idle(self) -> None: async def on_idle(self) -> None:
"""Perform actions when there are no messages in the queue."""
if self._require_styles_update: if self._require_styles_update:
await self.post_message(messages.StylesUpdated(self)) await self.post_message(messages.StylesUpdated(self))
self._require_styles_update = False self._require_styles_update = False