mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
remove nesting of try
This commit is contained in:
@@ -188,7 +188,6 @@ class Animator:
|
||||
|
||||
async def stop(self) -> None:
|
||||
"""Stop the animator task."""
|
||||
try:
|
||||
try:
|
||||
await self._timer.stop()
|
||||
except asyncio.CancelledError:
|
||||
|
||||
Reference in New Issue
Block a user