Skip to content

Commit 8fe70c0

Browse files
committed
chore: Improve cancel readability
1 parent 7b5688c commit 8fe70c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roborock/devices/traits/b01/q10/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ async def close(self) -> None:
3636
try:
3737
await self._task
3838
except asyncio.CancelledError:
39-
pass
39+
pass # ignore cancellation errors
4040
self._task = None
4141

4242
async def start_clean(self) -> None:

0 commit comments

Comments
 (0)