Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
pawlizio committed Dec 29, 2024
1 parent 7cfdbb6 commit 97b4f52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyvlx/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ async def disconnect(self) -> None:
await asyncio.gather(*self.tasks)

def disconnect_wrapper(self) -> None:
"""Wrapper to call the async disconnect function."""
"""Call the async disconnect function."""
task = asyncio.create_task(self.disconnect())
self.tasks.add(task)
task.add_done_callback(self.tasks.remove)
Expand Down Expand Up @@ -190,7 +190,7 @@ async def async_on_connection_lost(self) -> None:
await self.disconnect()

def on_connection_lost_wrapper(self) -> None:
"""Wrapper to call the async on_connection_lost function."""
"""Call the async on_connection_lost function."""
task = asyncio.create_task(self.async_on_connection_lost())
self.tasks.add(task)
task.add_done_callback(self.tasks.remove)

0 comments on commit 97b4f52

Please sign in to comment.